{ } Raw JSON

bundles / papyri latest / papyri / gen / DFSCollector / __init__

function

papyri.gen:DFSCollector.__init__

source: /papyri/gen.py :359

Signature

def   __init__ ( self root : ModuleType others : list[ModuleType] )

Parameters

root

Base object, typically module we want to scan itself. We will attempt to no scan any object which does not belong to the root or one of its children.

others

List of other objects to use a base to explore the object graph. Typically this is because some packages do not import some submodules by default, so we need to pass these submodules explicitly.

Aliases

  • papyri.gen.DFSCollector.__init__