Module Expr Str Import alias Import alias ImportFrom alias alias identifier alias alias alias alias alias ImportFrom alias identifier ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad ListLoad Dict NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str Assign NameStore BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str keyword Str Assign NameStore Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call NameLoad NameLoad Str BinOpMod Str NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Str NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad NameLoad decorator_list Expr Call NameLoad Str AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Assign NameStore BoolOpOr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Call NameLoad Call NameLoad Str Str Str Assign NameStore Call NameLoad NameLoad BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad If Call NameLoad NameLoad body Assign NameStore BoolOpOr AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Yield NameLoad Return orelse If CompareEq NameLoad Str body Raise Call NameLoad BinOpMod Str NameLoad orelse If CompareEq NameLoad Str body Expr Call NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore NameLoad orelse Raise Call NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Yield Call NameLoad NameLoad Dict Str Str NameLoad NameLoad decorator_list decorator_list NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Str NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Str Str Str BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd UnaryOpNot NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body AugAssignAdd AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Assign NameStore Call NameLoad NameLoad Dict Str SubscriptLoad Call NameLoad NameLoad Index Num Assign NameStore NameLoad If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call SubscriptLoad Dict Str Str NameLoad NameLoad Index AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Assign NameStore IfExp CompareIn Str NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad body If BoolOpOr CompareEq AttributeLoad NameLoad attr Str BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr Num If AttributeLoad NameLoad attr body Expr Yield NameLoad Return orelse If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assert NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign NameStore BinOpAdd NameLoad ListLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If Call NameLoad NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Str orelse Expr Call NameLoad AttributeLoad NameLoad attr NameLoad keyword NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore CompareIn Str NameLoad If BoolOpOr CompareEq AttributeLoad NameLoad attr Str UnaryOpNot NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad Lambda arguments args defaults AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr IfExp CompareIn Str NameLoad Str Str If Call NameLoad NameLoad body If NameLoad body If AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad orelse If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad ListLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr NameLoad body If AttributeLoad NameLoad attr body Expr Call Call AttributeLoad NameLoad attr Dict Str NameLoad Return orelse Raise Call NameLoad BinOpMod Str Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad If NameLoad body While NameLoad body If Call NameLoad NameLoad body If UnaryOpNot Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad ListLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn NameLoad NameLoad body If AttributeLoad NameLoad attr body Expr Call Call AttributeLoad NameLoad attr Dict Str NameLoad orelse Raise Call NameLoad BinOpMod Str Call NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str Break Assign TupleStore NameStore NameStore Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore NameStore IfExp CompareIn Str NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr Num If CompareIs NameLoad NameLoad body AugAssignAdd AttributeStore NameLoad attr Num Raise Call NameLoad BinOpMod Str NameLoad orelse If Call NameLoad NameLoad body AugAssignAdd AttributeStore NameLoad attr Num Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body If Call NameLoad NameLoad body AugAssignAdd AttributeStore NameLoad attr Num Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr BinOpMod Str NameLoad Expr Call NameLoad Call Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn NameLoad NameLoad body If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad orelse If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Yield Call NameLoad NameLoad Dict Str NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assert CompareIn NameLoad TupleLoad NameLoad Str FunctionDef arguments args NameParam defaults body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Expr Call NameLoad Call Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad If CompareEq NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Return If NameLoad body Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str keyword NameLoad keyword Str Slice Num orelse Assign NameStore ListLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore IfExp CompareGt NameLoad Num Str Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Assign NameStore IfExp UnaryOpNot NameLoad ListLoad Str ListLoad For NameStore NameLoad body If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword ListLoad Str Str Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr orelse Raise Call NameLoad NameLoad If NameLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore IfExp CompareEq NameLoad Num NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword ListLoad Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Yield NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot Call NameLoad Call NameLoad NameLoad Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr Call NameLoad NameLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad ListLoad body If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad ListLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad BinOpAdd ListLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad ListLoad Str Str Str Assert UnaryOpNot NameLoad Assign TupleStore NameStore NameStore NameStore NameStore TupleLoad ListLoad ListLoad ListLoad ListLoad For NameStore Call AttributeLoad NameLoad attr Str body If UnaryOpNot NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num TryExcept body Expr Call AttributeLoad SubscriptLoad Dict Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad Index NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad kwarg body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assert UnaryOpNot NameLoad Assert UnaryOpNot NameLoad Assert UnaryOpNot NameLoad If UnaryOpNot NameLoad body Return If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body For NameStore Call Call AttributeLoad NameLoad attr NameLoad body Expr Yield NameLoad Return If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assert Call NameLoad GeneratorExp CompareLt Call NameLoad NameLoad Call NameLoad NameLoad comprehension NameStore NameLoad Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad If NameLoad body If CompareLtE Call NameLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareLtE NameLoad Num body If CompareEq NameLoad Num body Expr Call NameLoad NameLoad NameLoad Str NameLoad For NameStore Call Call AttributeLoad NameLoad attr NameLoad body Expr Yield NameLoad Return Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad AugAssignAdd NameStore NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore IfExp NameLoad BinOpAdd Str Call AttributeLoad NameLoad attr keyword Str Str For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad body If NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad AugAssignSub NameStore NameLoad Assert CompareGtE NameLoad Num Assert CompareGtE NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad BinOpAdd NameLoad Num NameLoad NameLoad NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call NameLoad NameLoad NameLoad Str NameLoad Expr Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad keyword ListLoad Expr Yield NameLoad Assert CompareEq NameLoad Num decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If NameLoad body Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Yield NameLoad Return For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If BoolOpOr CompareIs NameLoad NameLoad CompareEq NameLoad NameLoad body Continue For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Yield NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert CompareIs NameLoad AttributeLoad NameLoad attr Expr Yield Call NameLoad NameLoad Dict Str NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr Assign NameStore IfExp NameLoad BinOpAdd Str Call AttributeLoad NameLoad attr keyword Str Str Expr Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad keyword ListLoad Str If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpAdd Str Call AttributeLoad NameLoad attr keyword Str Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareIn NameLoad NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Num While NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Break AugAssignAdd NameStore Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore NameLoad orelse Raise Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword BinOpMod Str TupleLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str Str keyword NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad keyword AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Expr Yield NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore IfExp CompareLt Call NameLoad NameLoad Num BinOpAdd Str Call AttributeLoad Str attr NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Return Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Yield NameLoad decorator_list decorator_list
N/A N/A Nodes to interact with annex -- initiate a new handle or operate with existing one

via Annexificator class, which could be used to add files, checkout branches etc
 N/A os N/A time os.path expanduser join opj exists isabs lexists curdir realpath os.path split ops os.path isdir islink os unlink makedirs collections OrderedDict humanize naturalsize six iteritems six string_types distutils.version LooseVersion git Repo version __version__ api add_archive_content api clean consts CRAWLER_META_DIR CRAWLER_META_CONFIG_FILENAME utils rmtree updated utils lmtime utils find_files utils auto_repr tests.utils put_file_under_git downloaders.providers Providers support.configparserinc SafeConfigParserWithIncludes support.gitrepo GitRepo _normalize_path support.annexrepo AnnexRepo support.handlerepo HandleRepo support.stats ActivityStats support.versions get_versions support.network get_url_straight_filename get_url_disposition_filename N/A cfg cmd get_runner pipeline CRAWLER_PIPELINE_SECTION dbs.files PhysicalFileStatusesDB JsonFileStatusesDB dbs.versions SingleVersionDB logging getLogger N/A lgr N/A getLogger datalad.crawl.annex N/A _runner N/A get_runner N/A _call N/A _runner call N/A _run N/A _runner run initiate_handle N/A object N/A N/A Action to initiate a handle following one of the known templates
     __init__ N/A N/A self template handle_name collection_name path branch backend data_fields add_fields existing N/A None None None None None N/A N/A None N/A N/A 
        Parameters
        ----------
        template : str
          Which template (probably matching the collection name) to use
        handle_name : str
          Name of the handle. If None, reacts on 'handle_name' in data
        collection_name : str, optional
          If None and not present in data, template is taken
        path : str, optional
          Path were to initiate the handle.  If not specified, would use
          default path for all new handles (DATALAD_CRAWL_COLLECTIONSPATH)
        branch : str, optional
          Which branch to initialize
        backend : str, optional
          Supported by git-annex backend.  By default (if None specified),
          it is MD5E backend to improve compatibility with filesystems
          having a relatively small limit for a maximum path size
        data_fields : list or tuple of str, optional
          Additional fields from data to store into configuration for
          the handle crawling options -- would be passed into the corresponding
          crawler template
        add_fields : dict, optional
          Dictionary of additional fields to store in the crawler configuration
          to be passed into the template
        existing : ('skip', 'raise', 'replace', crawl'), optional
          Behavior if encountering existing handle
         N/A N/A self template template N/A N/A self handle_name handle_name N/A N/A self collection_name collection_name N/A N/A self data_fields data_fields N/A N/A self add_fields add_fields N/A N/A self existing existing N/A N/A self path path N/A N/A self branch branch N/A N/A self backend backend N/A _initiate_handle N/A N/A self path name N/A N/A N/A N/A N/A lgr info N/A Initiating handle %s name N/A N/A N/A self branch None N/A N/A git_repo N/A GitRepo path create True N/A N/A N/A git_repo git_checkout N/A self branch options --orphan N/A backend N/A N/A self backend N/A N/A cfg get crawl default backend default MD5E N/A repo N/A HandleRepo path direct N/A N/A cfg getboolean crawl init direct default False name name backend backend create True N/A backend N/A N/A N/A put_file_under_git path .gitattributes N/A * annex.backend=%s backend annexed False N/A repo N/A _save_crawl_config N/A N/A self handle_path name data N/A N/A N/A N/A N/A lgr debug N/A Creating handle configuration for %s name N/A repo N/A GitRepo handle_path N/A crawl_config_dir N/A opj handle_path CRAWLER_META_DIR N/A N/A N/A exists crawl_config_dir N/A N/A N/A N/A lgr log 2 Creating %s crawl_config_dir N/A N/A makedirs crawl_config_dir N/A crawl_config N/A opj crawl_config_dir CRAWLER_META_CONFIG_FILENAME N/A cfg N/A SafeConfigParserWithIncludes N/A N/A N/A cfg add_section CRAWLER_PIPELINE_SECTION secset N/A N/A k v N/A N/A N/A N/A N/A cfg set CRAWLER_PIPELINE_SECTION k N/A str v N/A N/A N/A secset template N/A self template N/A f N/A self data_fields N/A N/A N/A secset f N/A data N/A f N/A N/A k v N/A self add_fields N/A N/A N/A secset k v N/A N/A open crawl_config w f N/A N/A N/A N/A cfg write f N/A N/A N/A repo git_add crawl_config N/A N/A repo dirty N/A N/A N/A N/A repo git_commit N/A Initialized crawling configuration to use template %s N/A self template N/A N/A N/A N/A lgr debug Repository is not dirty -- not committing N/A __call__ N/A N/A self data N/A N/A N/A N/A handle_name N/A N/A self handle_name N/A data N/A handle_name N/A N/A N/A self path None N/A N/A crawl_toppath N/A N/A cfg get crawl collectionspath default N/A opj N/A expanduser ~ datalad crawl N/A handle_path N/A opj crawl_toppath N/A N/A self collection_name N/A self template handle_name N/A N/A handle_path N/A self path N/A N/A N/A lgr debug Request to initialize a handle at %s handle_path N/A init True N/A N/A exists handle_path N/A N/A existing N/A N/A self existing skip N/A N/A existing skip N/A N/A N/A N/A lgr info N/A Skipping handle %s since already exists handle_name N/A N/A data N/A N/A N/A N/A existing raise N/A N/A N/A RuntimeError N/A %s already exists handle_path N/A N/A N/A existing replace N/A N/A N/A _call rmtree handle_path N/A N/A N/A existing adjust N/A N/A init False N/A N/A N/A ValueError N/A self existing N/A init N/A N/A N/A _call N/A self _initiate_handle handle_path handle_name N/A N/A _call N/A self _save_crawl_config handle_path handle_name data N/A N/A N/A updated data N/A handle_path handle_name handle_path handle_name N/A N/A auto_repr Annexificator N/A object N/A N/A A helper which would encapsulate operation of adding new content to git/annex repo

    If 'filename' field was not found in the data, filename from the url
    gets taken.

    'path' field of data (if present) is used to define path within the subdirectory.
    Should be relative. If absolute found -- ValueError is raised
     __init__ N/A N/A self path mode options special_remotes allow_dirty yield_non_updated auto_finalize statusdb N/A None full None N/A False False True None kwargs N/A N/A 

        Note that always_commit=False for the used AnnexRepo to minimize number
        of unnecessary commits

        Parameters
        ----------
        mode : str of {'full', 'fast', 'relaxed'}
          What mode of download to use for the content.  In "full" content gets downloaded
          and checksummed (according to the backend), 'fast' and 'relaxed' are just original
          annex modes where no actual download is performed and files' keys are their urls
        special_remotes : list, optional
          List of custom special remotes to initialize and enable by default.
        yield_non_updated : bool, optional
          Either to yield original data (with filepath) if load was not updated in annex
        auto_finalize : bool, optional
          In some cases, if e.g. adding a file in place of an existing directory or placing
          a file under a directory for which there is a file atm, we would 'finalize' before
          carrying out the operation
        statusdb : {'json', 'fileattr'}, optional
          DB of file statuses which will be used to figure out if remote load has changed.
          If None, no statusdb will be used so Annexificator will process every given url
          as if it lead to new content.  'json' -- JsonFileStatusesDB will
          be used which will store information about each provided file/url into a json file.
          'fileattr' -- PhysicalFileStatusesDB will be used to decide based on
          information in annex and file(s) mtime on the disk.
          Note that statusdb "lives" within branch, so switch_branch would drop existing DB (which
          should get committed within the branch) and would create a new one if db is requested
          again.
        **kwargs : dict, optional
          to be passed into AnnexRepo
         N/A N/A path None N/A N/A path N/A realpath curdir N/A N/A self repo N/A AnnexRepo path always_commit False kwargs N/A git_remotes N/A N/A N/A self repo git_get_remotes N/A special_remotes N/A N/A remote special_remotes N/A N/A N/A remote git_remotes N/A N/A N/A N/A N/A self repo annex_initremote remote N/A encryption=none type=external autoenable=true N/A externaltype=%s remote N/A N/A self mode mode N/A N/A self options N/A options N/A N/A N/A self auto_finalize auto_finalize N/A N/A self _states N/A set N/A N/A self _providers N/A N/A Providers from_config_files N/A N/A self yield_non_updated yield_non_updated N/A N/A N/A allow_dirty N/A N/A self repo dirty N/A N/A N/A RuntimeError N/A Repository %s is dirty.  Finalize your changes before running this pipeline path N/A N/A self statusdb statusdb N/A N/A self _statusdb None N/A register_url_in_db N/A N/A self url filename N/A N/A N/A N/A NotImplementedError N/A reset N/A N/A self N/A N/A N/A N/A self _statusdb N/A N/A N/A N/A N/A self _statusdb reset N/A _get_filename_from_url N/A N/A url N/A N/A N/A N/A url None N/A N/A None N/A filename N/A get_url_straight_filename url N/A N/A filename N/A N/A filename N/A get_url_disposition_filename url N/A N/A filename N/A N/A N/A ValueError N/A No filename was figured out for %s. Please adjust pipeline to provide one url N/A filename N/A staticmethod __call__ N/A N/A self data N/A N/A N/A N/A N/A self mode None N/A stats N/A N/A data get datalad_stats N/A ActivityStats N/A url N/A N/A data get url N/A url N/A N/A N/A stats urls 1 N/A fpath N/A N/A self _get_fpath data stats url N/A filepath N/A opj N/A N/A self repo path fpath N/A N/A N/A lgr debug Request to annex %(url)s to %(fpath)s N/A locals N/A updated_data N/A updated data N/A filename N/A N/A ops fpath N/A 1 N/A remote_status None N/A N/A N/A N/A self statusdb None N/A N/A self _statusdb None N/A N/A N/A isinstance N/A self statusdb string_types N/A N/A N/A self _statusdb N/A N/A N/A json fileattr JsonFileStatusesDB PhysicalFileStatusesDB N/A N/A self statusdb annex N/A self repo N/A N/A N/A self _statusdb N/A self statusdb N/A statusdb N/A self _statusdb N/A url N/A N/A downloader N/A N/A N/A N/A N/A self _providers get_provider url get_downloader url N/A remote_status N/A N/A url_status data N/A data N/A url_status N/A N/A downloader get_status url N/A N/A lexists filepath N/A N/A N/A N/A N/A self mode relaxed N/A N/A statusdb None N/A N/A N/A statusdb is_different fpath remote_status url N/A N/A N/A N/A lgr debug Skipping download. URL %s doesn't provide new content for %s.  New status: %s url filepath remote_status N/A N/A stats skipped 1 N/A N/A self yield_non_updated N/A N/A N/A updated_data N/A N/A N/A statusdb N/A N/A N/A N/A statusdb get fpath N/A N/A url N/A N/A N/A N/A lgr debug N/A Adding %s to annex without url being provided filepath N/A fpath N/A out_json N/A _call N/A N/A self repo annex_add fpath options N/A self options N/A N/A annex_options N/A self options N/A N/A N/A self mode full N/A N/A N/A N/A lgr debug N/A Downloading %s into %s and adding to annex N/A url filepath N/A N/A annex_options N/A annex_options N/A N/A --%s N/A self mode N/A N/A N/A lgr debug N/A Pointing %s to %s within annex in %s mode N/A url filepath N/A self mode N/A N/A lexists filepath N/A N/A N/A N/A lgr debug N/A Removing %s since it exists before fetching a new copy filepath N/A N/A isdir filepath N/A N/A N/A _call N/A self _check_no_staged_changes_under_dir filepath stats stats N/A N/A _call rmtree filepath N/A N/A N/A _call unlink filepath N/A N/A _call N/A stats increment overwritten N/A N/A N/A _call N/A self _check_non_existing_filepath filepath stats stats N/A N/A N/A N/A self mode full remote_status N/A remote_status size N/A N/A N/A N/A lgr info N/A Need to download %s from %s. No progress indication will be reported N/A N/A naturalsize N/A remote_status size url N/A out_json N/A _call N/A N/A self repo annex_addurl_to_file fpath url options annex_options batch True N/A added_to_annex N/A key out_json N/A N/A N/A N/A self mode full N/A added_to_annex N/A N/A N/A _call N/A stats increment downloaded N/A N/A _call N/A stats increment downloaded_size N/A _call N/A N/A N/A N/A N/A N/A N/A os stat filepath st_size N/A N/A _call N/A stats increment N/A N/A key out_json add_annex add_git N/A N/A lexists filepath N/A N/A remote_status N/A N/A N/A remote_status mtime N/A N/A N/A _call lmtime filepath N/A remote_status mtime N/A statusdb N/A N/A N/A _call N/A statusdb set filepath remote_status N/A N/A statusdb N/A N/A N/A _call N/A statusdb set filepath N/A N/A N/A N/A self _states add Updated git/annex from a remote location N/A N/A updated_data N/A _check_no_staged_changes_under_dir N/A N/A self dirpath stats N/A None N/A N/A Helper to verify that we can "safely" remove a directory
         N/A dirty_files N/A N/A self _get_status N/A dirty_files N/A sum dirty_files N/A N/A dirpath_normalized N/A _normalize_path N/A N/A self repo path dirpath N/A dirty_file dirty_files N/A N/A stats N/A N/A N/A _call N/A stats increment removed N/A N/A N/A dirty_file startswith dirpath_normalized N/A N/A N/A self auto_finalize N/A N/A N/A N/A N/A self finalize N/A datalad_stats stats N/A N/A N/A N/A RuntimeError N/A We need to save some file instead of directory %(dirpath)s but there are uncommitted changes (%(dirty_file)s) under that directory.  Please commit them first N/A locals N/A _check_non_existing_filepath N/A N/A self filepath stats N/A None N/A N/A Helper to verify that we can safely save into the target path

        For instance we can't save into a file d/file if d is a file, not
        a directory
         N/A N/A dirpath name N/A ops filepath N/A dirpath N/A N/A dirpath N/A N/A N/A lexists dirpath N/A N/A N/A N/A isdir dirpath N/A N/A dirty_files N/A N/A self _get_status N/A dirty_files N/A sum dirty_files N/A N/A dirpath_normalized N/A _normalize_path N/A N/A self repo path dirpath N/A N/A dirpath_normalized dirty_files N/A N/A N/A self auto_finalize N/A N/A N/A N/A N/A self finalize N/A datalad_stats stats N/A N/A N/A RuntimeError N/A We need to annex file %(filepath)s but there is a file %(dirpath)s in its path which destiny wasn't yet decided within git.  Please commit or remove it before trying to annex this new file N/A locals N/A N/A N/A lgr debug N/A Removing %s as it is in the path of %s N/A dirpath filepath N/A N/A _call N/A os unlink dirpath N/A stats N/A N/A N/A _call N/A stats increment overwritten N/A N/A N/A dirpath _ N/A ops dirpath N/A N/A N/A N/A dirpath startswith N/A N/A self repo path N/A N/A N/A RuntimeError N/A We escaped the border of the repository itself. path: %s  repo: %s N/A dirpath N/A N/A self repo path N/A _get_fpath N/A N/A self data stats url N/A None N/A N/A Return relative path (fpath) to the file based on information in data or url
         N/A fpath filename N/A N/A filename data N/A data N/A filename N/A N/A self _get_filename_from_url url N/A N/A stats files 1 N/A N/A filename None N/A N/A N/A stats skipped 1 N/A N/A ValueError N/A No filename were provided or could be deduced from url=%r url N/A N/A N/A isabs filename N/A N/A N/A stats skipped 1 N/A N/A ValueError N/A Got absolute filename %r filename N/A path_ N/A N/A data get path None N/A path_ N/A N/A N/A isabs path_ N/A N/A N/A stats skipped 1 N/A N/A ValueError N/A Absolute path %s was provided path_ N/A fpath N/A opj path_ fpath N/A fpath N/A switch_branch N/A N/A self branch parent N/A None N/A N/A Node generator to switch branch, returns actual node

        Parameters
        ----------
        branch : str
          Name of the branch
        parent : str or None, optional
          If parent is provided, it will serve as a parent of the branch. If None,
          detached new branch will be created
         switch_branch N/A N/A data N/A N/A N/A N/A Switches to the branch %s branch N/A N/A list N/A N/A N/A self finalize data N/A N/A self _statusdb None N/A existing_branches N/A N/A N/A self repo git_get_branches N/A N/A branch existing_branches N/A N/A N/A parent None N/A N/A N/A N/A lgr info N/A Checking out a new detached branch %s branch N/A N/A N/A N/A self repo git_checkout branch options --orphan N/A N/A N/A self repo dirty N/A N/A N/A N/A N/A self repo git_remove . r True f True N/A N/A N/A parent existing_branches N/A N/A N/A RuntimeError N/A Parent branch %s does not exist parent N/A N/A N/A lgr info N/A Checking out %s into a new branch %s N/A parent branch N/A N/A N/A N/A self repo git_checkout parent options N/A -b %s branch N/A N/A N/A N/A lgr info N/A Checking out an existing branch %s branch N/A N/A N/A N/A self repo git_checkout branch N/A N/A N/A updated data N/A git_branch branch N/A N/A switch_branch N/A merge_branch N/A N/A self branch target_branch strategy commit one_commit_at_a_time skip_no_changes N/A None None True False None N/A N/A Merge a branch into a current branch

        Parameters
        ----------
        branch: str
          Branch to be merged
        target_branch: str, optional
          Into which branch to merge. If not None, it will be checked out first.
          At the end we will return into original branch
        strategy: None or 'theirs', optional
          With 'theirs' strategy remote branch content is used 100% as is.
          'theirs' with commit=False can be used to prepare data from that branch for
          processing by further steps in the pipeline
        commit: bool, optional
          Either to commit when merge is complete
        one_commit_at_at_time: bool, optional
          Either to generate
        skip_no_changes: None or bool, optional
          Either to not perform any action if there is no changes from previous merge
          point. If None, config TODO will be consulted with default of being True (i.e. skip
          if no changes)
         N/A N/A strategy N/A None theirs merge_branch N/A N/A data N/A N/A N/A N/A target_branch None N/A N/A orig_branch N/A N/A N/A self repo git_get_active_branch N/A target_branch_ target_branch N/A N/A list N/A N/A N/A self switch_branch target_branch_ data N/A N/A orig_branch None N/A target_branch_ N/A N/A N/A self repo git_get_active_branch N/A N/A N/A self repo dirty N/A N/A N/A RuntimeError Requested to merge another branch while current state is dirty N/A last_merged_checksum N/A N/A N/A self repo git_get_merge_base N/A target_branch_ branch N/A N/A last_merged_checksum N/A N/A N/A self repo git_get_hexsha branch N/A N/A N/A N/A lgr debug N/A Branch %s doesn't provide any new commits for current HEAD branch N/A skip_no_changes_ skip_no_changes N/A N/A skip_no_changes None N/A N/A skip_no_changes_ True N/A skip_no_changes_ N/A N/A N/A N/A lgr debug Skipping the merge N/A N/A one_commit_at_a_time N/A N/A all_to_merge N/A N/A list N/A N/A N/A self repo git_get_branch_commits branch limit left-only stop last_merged_checksum value hexsha N/A -1 N/A N/A all_to_merge N/A branch N/A nmerges N/A len all_to_merge N/A plmerges N/A N/A nmerges 1 s N/A N/A N/A lgr info Initiating %(nmerges)d merge%(plmerges)s of %(branch)s using strategy %(strategy)s N/A locals N/A options N/A N/A commit N/A --no-commit N/A N/A to_merge all_to_merge N/A N/A N/A N/A N/A N/A self repo git_get_active_branch target_branch_ N/A N/A N/A N/A N/A self repo git_checkout target_branch_ N/A N/A strategy None N/A N/A N/A N/A N/A self repo git_merge to_merge options options N/A N/A N/A strategy theirs N/A N/A N/A N/A N/A self repo git_merge to_merge options N/A -s ours --no-commit expect_stderr True N/A N/A N/A N/A self repo _git_custom_command N/A N/A git read-tree -m -u %s to_merge N/A N/A N/A N/A self repo annex_add . options N/A self options N/A N/A N/A NotImplementedError strategy N/A commit N/A N/A N/A strategy None N/A N/A msg N/A N/A nmerges 1 branch N/A %s (%s) N/A branch to_merge N/A N/A N/A self _commit N/A Merged %s using strategy %s N/A msg strategy options N/A -a N/A N/A stats N/A N/A data get datalad_stats None N/A stats N/A N/A N/A N/A N/A stats merges append N/A branch target_branch_ N/A N/A orig_branch None N/A N/A N/A N/A N/A self repo git_checkout orig_branch N/A N/A data N/A N/A merge_branch N/A _precommit N/A N/A self N/A N/A N/A N/A N/A N/A self repo precommit N/A N/A self _statusdb N/A N/A N/A N/A N/A self _statusdb save N/A path N/A N/A self repo path N/A N/A N/A N/A self repo dirty N/A N/A exists N/A opj path .gitattributes N/A N/A backends N/A N/A self repo default_backends N/A backends N/A N/A N/A put_file_under_git path .gitattributes N/A * annex.backend=%s N/A backends N/A 0 annexed False N/A _commit N/A N/A self msg options N/A None N/A N/A N/A N/A msg None N/A N/A options N/A options N/A -m msg N/A N/A N/A self _precommit N/A N/A N/A N/A self repo _git_custom_command N/A N/A N/A git commit options N/A _unstage N/A N/A self fpaths N/A N/A N/A N/A N/A N/A self repo _git_custom_command fpaths N/A git reset N/A _stage N/A N/A self fpaths N/A N/A N/A N/A N/A N/A self repo git_add fpaths N/A _get_status N/A N/A self N/A N/A N/A Custom check of status to see what files were staged, untracked etc
        until
        https://github.com/gitpython-developers/GitPython/issues/379#issuecomment-180101921
        is resolved
         N/A N/A out err N/A N/A N/A self repo _git_custom_command N/A N/A git status --porcelain N/A N/A err N/A N/A staged notstaged untracked deleted N/A N/A N/A N/A N/A N/A l N/A N/A out split N/A N/A N/A l N/A N/A N/A act N/A l N/A 2 N/A fname N/A l N/A 3 N/A N/A N/A N/A N/A N/A N/A ?? A  M   M  D untracked staged staged notstaged deleted N/A act append fname N/A N/A N/A KeyError N/A N/A N/A RuntimeError N/A git status %r not yet supported. TODO act N/A N/A staged notstaged untracked deleted N/A commit_versions N/A N/A self regex dirs rename N/A True False kwargs N/A N/A Generate multiple commits if multiple versions were staged

        Parameters
        ----------
        TODO
        **kwargs: dict, optional
          Passed to get_versions
         _commit_versions N/A N/A data N/A N/A N/A N/A N/A self _precommit N/A N/A staged notstaged untracked deleted N/A N/A self _get_status N/A N/A notstaged N/A N/A untracked N/A N/A deleted N/A N/A staged N/A N/A N/A N/A dirs N/A N/A N/A NotImplementedError ATM matching will happen to dirnames as well N/A versions N/A get_versions staged regex kwargs N/A N/A versions N/A N/A d N/A N/A N/A self finalize data N/A N/A N/A d N/A N/A N/A None versions N/A N/A N/A N/A versions pop None N/A versions_db N/A SingleVersionDB N/A self repo N/A prev_version N/A versions_db version N/A N/A prev_version None N/A N/A new_versions versions N/A N/A version_keys N/A list N/A N/A versions keys N/A N/A prev_version N/A versions_db versions N/A N/A N/A RuntimeError N/A previous version %s not found among known to DB: %s N/A prev_version N/A N/A N/A versions_db versions keys N/A N/A all N/A N/A N/A LooseVersion prev_version N/A LooseVersion v N/A v versions N/A new_versions versions N/A new_versions N/A N/A smallest_new_version N/A next N/A iter new_versions N/A prev_version N/A N/A N/A N/A LooseVersion smallest_new_version N/A LooseVersion prev_version N/A N/A N/A ValueError N/A Smallest new version %s is <= prev_version %s N/A smallest_new_version prev_version N/A N/A N/A versions_db update_versions versions N/A nnew_versions N/A len new_versions N/A N/A nnew_versions 1 N/A N/A N/A nnew_versions 1 N/A N/A N/A _call setattr versions_db version smallest_new_version N/A d N/A N/A N/A self finalize data N/A N/A N/A d N/A N/A nunstaged 0 N/A N/A version fpaths N/A iteritems versions N/A N/A nfpaths N/A len fpaths N/A N/A N/A lgr debug Unstaging %d files for version %s nfpaths version N/A nunstaged nfpaths N/A N/A _call N/A self _unstage N/A list N/A N/A fpaths values N/A stats N/A N/A data get datalad_stats None N/A stats_str N/A stats N/A N/A N/A stats as_str mode full N/A N/A iversion N/A version fpaths N/A enumerate N/A iteritems new_versions N/A N/A rename N/A N/A vfpaths N/A N/A N/A fpath vfpath N/A iteritems fpaths N/A N/A N/A N/A lgr debug N/A Renaming %s into %s N/A vfpath fpath N/A N/A N/A os rename vfpath fpath N/A N/A N/A vfpaths append fpath N/A N/A vfpaths N/A list N/A N/A fpaths values N/A nfpaths N/A len vfpaths N/A N/A N/A lgr debug Staging %d files for version %s nfpaths version N/A nunstaged nfpaths N/A N/A nfpaths 0 N/A N/A nunstaged 0 N/A N/A _call N/A self _stage vfpaths N/A vmsg N/A Multi-version commit #%d/%d: %s. Remaining unstaged: %d N/A N/A iversion 1 nnew_versions version nunstaged N/A stats N/A N/A N/A _call N/A stats reset N/A version N/A N/A N/A _call setattr versions_db version version N/A N/A _call N/A self _commit N/A %s (%s)%s N/A N/A N/A ,  join N/A self _states vmsg stats_str options N/A N/A N/A data N/A N/A nunstaged 0 N/A N/A _commit_versions N/A remove_other_versions N/A N/A self name overlay N/A None False N/A N/A Remove other (non-current) versions of the files

        Pretty much to be used in tandem with commit_versions
         _remove_other_versions N/A N/A data N/A N/A N/A overlay N/A N/A N/A NotImplementedError overlay N/A stats N/A N/A data get datalad_stats None N/A versions_db N/A SingleVersionDB N/A self repo name name N/A current_version N/A versions_db version N/A N/A current_version N/A N/A N/A N/A lgr info No version information was found, skipping remove_other_versions N/A N/A data N/A N/A N/A version fpaths N/A iteritems N/A versions_db versions N/A N/A N/A N/A version None N/A current_version version N/A N/A N/A N/A fpath vfpath N/A iteritems fpaths N/A N/A vfpathfull N/A opj N/A N/A self repo path vfpath N/A N/A lexists vfpathfull N/A N/A N/A N/A lgr log 5 Removing %s of version %s. Current one %s vfpathfull version current_version N/A N/A N/A os unlink vfpathfull N/A stats N/A N/A N/A N/A N/A stats versions append current_version N/A N/A data N/A N/A _remove_other_versions N/A add_archive_content N/A N/A self commit N/A False aac_kwargs N/A N/A 

        Parameters
        ----------
        aac_kwargs: dict, optional
           Options to pass into api.add_archive_content
         _add_archive_content N/A N/A data N/A N/A N/A stats N/A N/A data get datalad_stats N/A ActivityStats N/A archive N/A N/A self _get_fpath data stats N/A annex N/A add_archive_content archive annex N/A self repo delete True key False commit commit allow_dirty True annex_options N/A self options stats stats aac_kwargs N/A N/A N/A N/A self _states add Added files from extracted archives N/A N/A annex N/A self repo N/A N/A N/A updated data N/A datalad_stats stats N/A N/A _add_archive_content N/A finalize N/A N/A self tag existing_tag cleanup N/A False None False N/A N/A Finalize operations -- commit uncommited, prune abandoned? etc

        Parameters
        ----------
        tag: bool or str, optional
          If set, information in datalad_stats and data can be used to tag release if
          versions is non-empty.
          If True, simply the last version to be used.  If str, it is .format'ed
          using datalad_stats, so something like "r{stats.versions[0]}" can be used.
          Also `last_version` is provided as the last one from stats.versions (None
          if empty)
        existing_tag: None or '+suffix', optional
          What to do if tag already exists, if None -- warning is issued. If `+suffix`
          +0, +1, +2 ... are tried until available one is found.
        cleanup: bool, optional
          Either to perform cleanup operations, such as 'git gc' and 'datalad clean'
         _finalize N/A N/A data N/A N/A N/A N/A N/A self _precommit N/A stats N/A N/A data get datalad_stats None N/A N/A N/A self repo dirty N/A N/A N/A N/A lgr info Repository found dirty -- adding and committing N/A N/A _call N/A N/A self repo annex_add . options N/A self options N/A stats_str N/A stats N/A N/A N/A stats as_str mode full N/A N/A _call N/A self _commit N/A %s%s N/A N/A N/A ,  join N/A self _states stats_str options N/A -a N/A stats N/A N/A N/A _call N/A stats reset N/A N/A N/A N/A lgr info Found branch non-dirty - nothing is committed N/A N/A tag stats N/A N/A total_stats N/A N/A stats get_total N/A N/A total_stats versions N/A N/A last_version N/A N/A total_stats versions N/A -1 N/A N/A isinstance tag string_types N/A N/A tag_ N/A N/A tag format stats total_stats data data last_version last_version N/A N/A tag_ last_version N/A stats_str N/A N/A N/A total_stats as_str mode full N/A tags N/A N/A N/A self repo repo tags N/A N/A tag_ tags N/A N/A N/A existing_tag +suffix N/A N/A N/A N/A lgr warning N/A There is already a tag %s in the repository. Delete it first if you want it updated tag_ N/A tag_ None N/A N/A N/A existing_tag None N/A N/A suf 1 N/A True N/A N/A tag__ N/A %s+%d N/A tag_ suf N/A N/A tag__ tags N/A N/A N/A suf 1 N/A N/A N/A lgr warning N/A There is already a tag %s in the repository. Tagging as %s N/A tag_ tag__ N/A tag_ tag__ N/A N/A N/A ValueError existing_tag N/A N/A N/A N/A N/A self repo repo create_tag tag_ message N/A Automatically crawled and tagged by datalad %s.%s N/A __version__ stats_str N/A cleanup N/A N/A total_stats N/A N/A stats get_total N/A N/A N/A total_stats add_git N/A total_stats add_annex N/A total_stats merges N/A N/A N/A N/A cfg getboolean crawl pipeline.housekeeping default True N/A N/A N/A N/A lgr info House keeping: gc, repack and clean N/A N/A N/A N/A self repo gc allow_background False N/A N/A clean annex N/A self repo N/A N/A N/A N/A lgr info No git house-keeping performed as instructed by config N/A N/A N/A N/A lgr info No git house-keeping performed as no notable changes to git N/A N/A self _states N/A set N/A N/A data N/A N/A _finalize N/A remove_obsolete N/A N/A self N/A N/A N/A Remove obsolete files which were not referenced in queries to db

        Note that it doesn't reset any state within statusdb upon call, so shouldn't be
        called multiple times for the same state.
         _remove_obsolete N/A object N/A __call__ N/A N/A self_ data N/A N/A N/A statusdb N/A self _statusdb N/A obsolete N/A N/A statusdb get_obsolete N/A obsolete N/A N/A files_str N/A N/A N/A len obsolete 10 N/A :  N/A N/A ,  join obsolete N/A N/A N/A lgr info N/A Removing %d obsolete files%s N/A N/A len obsolete files_str N/A stats N/A N/A data get datalad_stats None N/A N/A _call N/A N/A self repo git_remove obsolete N/A stats N/A N/A N/A _call N/A stats increment removed N/A len obsolete N/A filepath obsolete N/A N/A N/A N/A statusdb remove filepath N/A N/A data N/A reset N/A N/A self_ N/A N/A N/A N/A self _statusdb N/A N/A N/A N/A N/A self _statusdb reset N/A N/A N/A N/A _remove_obsolete N/A remove N/A N/A self data N/A N/A N/A Removed passed along file name from git/annex N/A stats N/A N/A data get datalad_stats None N/A N/A N/A N/A self _states add Removed files N/A filename N/A N/A self _get_fpath data stats N/A stats N/A N/A N/A _call N/A stats increment removed N/A N/A _call N/A N/A self repo git_remove filename N/A N/A data N/A N/A