Module Import alias ImportFrom alias alias alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Pass decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam defaults vararg body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num If CompareGtE AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Return Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body If CompareGt NameLoad Num body Assign NameStore Call NameLoad NameLoad BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad AugAssignSub NameStore Call NameLoad NameLoad While CompareGt NameLoad Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore NameStore AttributeStore NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad AugAssignSub NameStore Call NameLoad NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd AttributeStore NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults BinOpPow Num Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad Assign NameStore BinOpDiv NameLoad Call NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpMult AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpSub NameLoad Call NameLoad NameLoad AugAssignAdd NameStore SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list Assign NameStore Dict Str Str Str Str Str Str Str ListLoad Dict Str Str Str Str Num Num Str Str Dict Str Str Str Str Num Num Str Str Dict Str Str Str Str Num Num Str Str Dict Str Str Str Num Num Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Delete SubscriptDel AttributeLoad NameLoad attr Index Str Import alias Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore NameLoad Assign NameStore Dict Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body If Call AttributeLoad NameLoad attr body Expr Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Num Num Assign NameStore Call NameLoad NameLoad NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Delete SubscriptDel AttributeLoad NameLoad attr Index Str Import alias Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore BinOpAdd Num NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore BinOpAdd Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword BinOpAdd Str Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore NameLoad Assign NameStore Dict Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body If Call AttributeLoad NameLoad attr body Expr Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Delete SubscriptDel AttributeLoad NameLoad attr Index Str Import alias Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Dict Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Num Call AttributeLoad Str attr ListComp Call NameLoad BinOpAdd NameLoad Num comprehension NameStore Call NameLoad Num Num Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Delete SubscriptDel AttributeLoad NameLoad attr Index Str Import alias Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Num Assign NameStore Str orelse Assign NameStore Num Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpPow Num Num FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore NameLoad Assign NameStore Dict Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body If Call AttributeLoad NameLoad attr body Expr Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMult Str BinOpPow Num Num Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Assign NameStore ListLoad Str Str Str Str Assign NameStore ListLoad Str For NameStore NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body If CompareIs Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Return SubscriptLoad SubscriptLoad NameLoad Index Num Index Num decorator_list Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore ListLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults IfExp CompareEq NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad SubscriptLoad NameLoad Index Num attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Num Assign NameStore Call NameLoad Assign NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad Num NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index Num Num BinOpPow Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpSub NameLoad Num NameLoad BinOpPow Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad Num comprehension NameStore NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Num While Num body AugAssignAdd NameStore Num Expr Yield BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Call AttributeLoad Str attr ListComp Call NameLoad BinOpAdd NameLoad Num comprehension NameStore Call NameLoad Num Num Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad keyword Str keyword Call NameLoad Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num NameLoad Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Call AttributeLoad Str attr ListComp Call NameLoad BinOpAdd NameLoad Num comprehension NameStore Call NameLoad Num Num Num Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad keyword Str decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A shutil multiprocessing Process Event Queue N/A logging N/A sys N/A random N/A io Crypto.PublicKey RSA Crypto Random Crypto.Hash MD5 lbrynet.conf MIN_BLOB_DATA_PAYMENT_RATE lbrynet.conf MIN_BLOB_INFO_PAYMENT_RATE lbrynet.lbrylive.LiveStreamCreator FileLiveStreamCreator lbrynet.lbrylive.PaymentRateManager BaseLiveStreamPaymentRateManager lbrynet.lbrylive.PaymentRateManager LiveStreamPaymentRateManager lbrynet.lbrylive.LiveStreamMetadataManager DBLiveStreamMetadataManager lbrynet.lbrylive.LiveStreamMetadataManager TempLiveStreamMetadataManager lbrynet.lbryfile.LBRYFileMetadataManager TempLBRYFileMetadataManager DBLBRYFileMetadataManager lbrynet.lbryfilemanager.LBRYFileManager LBRYFileManager lbrynet.core.PaymentRateManager PaymentRateManager lbrynet.core.PTCWallet PointTraderKeyQueryHandlerFactory PointTraderKeyExchanger lbrynet.core.Session LBRYSession lbrynet.core.client.StandaloneBlobDownloader StandaloneBlobDownloader lbrynet.core.StreamDescriptor BlobStreamDescriptorWriter lbrynet.core.StreamDescriptor StreamDescriptorIdentifier lbrynet.core.StreamDescriptor download_sd_blob lbrynet.lbryfilemanager.LBRYFileCreator create_lbry_file lbrynet.lbryfile.client.LBRYFileOptions add_lbry_file_to_sd_identifier lbrynet.lbryfile.StreamDescriptor get_sd_info twisted.internet defer threads task twisted.trial.unittest TestCase twisted.python.failure Failure N/A os lbrynet.core.PeerManager PeerManager lbrynet.core.RateLimiter DummyRateLimiter RateLimiter lbrynet.core.server.BlobAvailabilityHandler BlobAvailabilityHandlerFactory lbrynet.core.server.BlobRequestHandler BlobRequestHandlerFactory lbrynet.core.server.ServerProtocol ServerProtocolFactory lbrynet.lbrylive.server.LiveBlobInfoQueryHandler CryptBlobInfoQueryHandlerFactory lbrynet.lbrylive.client.LiveStreamOptions add_live_stream_to_sd_identifier lbrynet.lbrylive.client.LiveStreamDownloader add_full_live_stream_downloader_to_sd_identifier N/A log_format %(funcName)s(): %(message)s N/A N/A N/A logging basicConfig level N/A logging WARNING format log_format FakeNode N/A object N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A joinNetwork N/A N/A self N/A args N/A N/A N/A stop N/A N/A self N/A N/A N/A N/A N/A FakeWallet N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self private_key N/A N/A RSA generate 1024 N/A N/A self encoded_public_key N/A N/A N/A N/A N/A self private_key publickey exportKey N/A start N/A N/A self N/A N/A N/A N/A N/A defer succeed True N/A stop N/A N/A self N/A N/A N/A N/A N/A defer succeed True N/A get_info_exchanger N/A N/A self N/A N/A N/A N/A PointTraderKeyExchanger self N/A get_wallet_info_query_handler_factory N/A N/A self N/A N/A N/A N/A PointTraderKeyQueryHandlerFactory self N/A reserve_points N/A N/A self N/A args N/A N/A True N/A cancel_point_reservation N/A N/A self N/A args N/A N/A N/A send_points N/A N/A self N/A args N/A N/A N/A N/A defer succeed True N/A add_expected_payment N/A N/A self N/A args N/A N/A N/A get_balance N/A N/A self N/A N/A N/A N/A N/A defer succeed 1000 N/A set_public_key_for_peer N/A N/A self peer public_key N/A N/A N/A N/A N/A FakePeerFinder N/A object N/A __init__ N/A N/A self start_port peer_manager num_peers N/A N/A N/A N/A self start_port start_port N/A N/A self peer_manager peer_manager N/A N/A self num_peers num_peers N/A N/A self count 0 N/A find_peers_for_blob N/A N/A self N/A args N/A N/A peer_port N/A N/A self start_port N/A self count N/A N/A self count 1 N/A N/A N/A self count N/A self num_peers N/A N/A N/A self count 0 N/A N/A N/A defer succeed N/A N/A N/A N/A self peer_manager get_peer 127.0.0.1 peer_port N/A run_manage_loop N/A N/A self N/A N/A N/A N/A stop N/A N/A self N/A N/A N/A N/A N/A FakeAnnouncer N/A object N/A __init__ N/A N/A self N/A args N/A N/A N/A add_supplier N/A N/A self supplier N/A N/A N/A N/A immediate_announce N/A N/A self N/A args N/A N/A N/A run_manage_loop N/A N/A self N/A N/A N/A N/A stop N/A N/A self N/A N/A N/A N/A N/A GenFile N/A N/A io RawIOBase N/A __init__ N/A N/A self size pattern N/A N/A N/A N/A N/A N/A io RawIOBase __init__ self N/A N/A self size size N/A N/A self pattern pattern N/A N/A self read_so_far 0 N/A N/A self buff N/A N/A self last_offset 0 N/A readable N/A N/A self N/A N/A N/A True N/A writable N/A N/A self N/A N/A N/A False N/A read N/A N/A self n N/A -1 N/A N/A N/A n -1 N/A N/A bytes_to_read N/A min n N/A N/A self size N/A self read_so_far N/A N/A bytes_to_read N/A N/A self size N/A self read_so_far N/A N/A output N/A self buff N/A N/A N/A self buff N/A bytes_to_read N/A N/A self buff N/A bytes_to_read N/A bytes_to_read N/A len output N/A N/A bytes_to_read 0 N/A N/A N/A self buff N/A N/A self _generate_chunk N/A N/A new_output N/A self buff N/A N/A N/A self buff N/A bytes_to_read N/A N/A self buff N/A bytes_to_read N/A bytes_to_read N/A len new_output N/A output new_output N/A N/A self read_so_far N/A len output N/A output N/A readall N/A N/A self N/A N/A N/A N/A N/A self read N/A _generate_chunk N/A N/A self n N/A N/A 2 10 N/A N/A output N/A N/A self pattern N/A N/A self last_offset N/A N/A self last_offset n N/A n_left N/A n N/A len output N/A whole_patterns N/A n_left N/A len N/A self pattern N/A output N/A N/A self pattern whole_patterns N/A N/A self last_offset N/A n N/A len output N/A output N/A N/A self pattern N/A N/A self last_offset N/A output N/A N/A N/A test_create_stream_sd_file N/A stream_name blobs stream_type key suggested_file_name stream_hash 746573745f66696c65 N/A N/A length blob_num blob_hash iv 2097152 0 dc4708f76a5e7af0f1cae0ee96b824e2ed9250c9346c093b441f0a20d3607c17948b6fcfb4bc62020fe5286693d08586 30303030303030303030303030303031 N/A length blob_num blob_hash iv 2097152 1 f4067522c1b49432a2a679512e3917144317caa1abba0c041e0cd2cf9f635d4cf127ce1824fa04189b63916174951f70 30303030303030303030303030303032 N/A length blob_num blob_hash iv 1015056 2 305486c434260484fcb2968ce0e963b72f81ba56c11b08b1af0789b55b44d78422600f9a38e3cf4f2e9569897e5646a9 30303030303030303030303030303033 N/A length blob_num iv 0 3 30303030303030303030303030303034 lbryfile 30313233343536373031323334353637 746573745f66696c65 6d27fbe10c86d81aacfb897c7a426d0a2214f5a299455a6d315c0f998c4b3545c2dc60906122d94653c23b1898229e3f start_lbry_uploader N/A N/A sd_hash_queue kill_event dead_event file_size ul_rate_limit N/A None N/A N/A N/A sys modules N/A N/A N/A sys modules copy N/A N/A N/A sys modules N/A twisted.internet.reactor N/A twisted.internet N/A N/A N/A twisted internet reactor N/A N/A N/A N/A twisted internet epollreactor EPollReactor N/A N/A N/A sys modules N/A twisted.internet.reactor N/A N/A twisted internet reactor twisted.internet reactor N/A N/A N/A logging debug Starting the uploader N/A N/A N/A Random atfork N/A r N/A N/A random Random N/A N/A N/A r seed start_lbry_uploader N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 1 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A RateLimiter N/A sd_identifier N/A StreamDescriptorIdentifier N/A db_dir server N/A N/A N/A os mkdir db_dir N/A session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid abcd peer_finder peer_finder hash_announcer hash_announcer peer_port 5553 use_upnp False rate_limiter rate_limiter wallet wallet N/A stream_info_manager N/A TempLBRYFileMetadataManager N/A lbry_file_manager N/A LBRYFileManager session stream_info_manager sd_identifier N/A N/A ul_rate_limit None N/A N/A N/A N/A N/A session rate_limiter set_ul_limit ul_rate_limit start_all N/A N/A N/A N/A N/A d N/A N/A session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A add_lbry_file_to_sd_identifier sd_identifier N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A lbry_file_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A start_server N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A create_stream N/A N/A N/A d addCallback create_stream_descriptor N/A N/A N/A d addCallback put_sd_hash_on_queue print_error N/A N/A err N/A N/A N/A N/A N/A logging critical Server error: %s N/A N/A err getErrorMessage N/A N/A N/A N/A d addErrback print_error N/A d N/A start_server N/A N/A N/A N/A N/A server_port None N/A query_handler_factories N/A N/A BlobAvailabilityHandlerFactory N/A session blob_manager N/A BlobRequestHandlerFactory N/A session blob_manager N/A session wallet N/A PaymentRateManager N/A session base_payment_rate_manager N/A N/A N/A session wallet get_wallet_info_query_handler_factory True True True N/A server_factory N/A ServerProtocolFactory N/A session rate_limiter query_handler_factories N/A session peer_manager N/A server_port N/A N/A reactor listenTCP 5553 server_factory N/A N/A N/A logging debug Started listening kill_server N/A N/A N/A N/A N/A ds N/A N/A N/A N/A ds append N/A N/A session shut_down N/A N/A N/A ds append N/A N/A lbry_file_manager stop N/A server_port N/A N/A N/A N/A ds append N/A N/A server_port stopListening N/A N/A N/A kill_check stop N/A N/A N/A dead_event set N/A dl N/A N/A defer DeferredList ds N/A N/A N/A dl addCallback N/A N/A N/A _ N/A N/A N/A reactor stop N/A dl N/A check_for_kill N/A N/A N/A N/A N/A N/A N/A kill_event is_set N/A N/A N/A kill_server N/A N/A kill_check N/A N/A task LoopingCall check_for_kill N/A N/A N/A kill_check start 1.0 N/A True N/A create_stream N/A N/A N/A N/A N/A test_file N/A GenFile file_size N/A N/A join N/A N/A chr i N/A i N/A xrange 0 64 6 N/A d N/A create_lbry_file session lbry_file_manager test_file test_file N/A d N/A create_stream_descriptor N/A N/A stream_hash N/A N/A N/A descriptor_writer N/A BlobStreamDescriptorWriter N/A session blob_manager N/A d N/A get_sd_info N/A lbry_file_manager stream_info_manager stream_hash True N/A N/A N/A d addCallback N/A descriptor_writer create_descriptor N/A d N/A put_sd_hash_on_queue N/A N/A sd_hash N/A N/A N/A N/A N/A sd_hash_queue put sd_hash N/A N/A N/A N/A reactor callLater 1 start_all N/A N/A N/A reactor run N/A start_lbry_reuploader N/A N/A sd_hash kill_event dead_event ready_event n ul_rate_limit N/A None N/A N/A N/A sys modules N/A N/A N/A sys modules copy N/A N/A N/A sys modules N/A twisted.internet.reactor N/A twisted.internet N/A N/A N/A twisted internet reactor N/A N/A N/A N/A twisted internet epollreactor EPollReactor N/A N/A N/A sys modules N/A twisted.internet.reactor N/A N/A twisted internet reactor twisted.internet reactor N/A N/A N/A logging debug Starting the uploader N/A N/A N/A Random atfork N/A r N/A N/A random Random N/A N/A N/A r seed start_lbry_uploader N/A wallet N/A FakeWallet N/A peer_port N/A 5553 n N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 1 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A RateLimiter N/A sd_identifier N/A StreamDescriptorIdentifier N/A db_dir N/A server_ N/A str n N/A blob_dir N/A N/A N/A os path join db_dir blobfiles N/A N/A N/A os mkdir db_dir N/A N/A N/A os mkdir blob_dir N/A session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid N/A abcd N/A str n peer_finder peer_finder hash_announcer hash_announcer blob_dir None peer_port peer_port use_upnp False rate_limiter rate_limiter wallet wallet N/A stream_info_manager N/A TempLBRYFileMetadataManager N/A lbry_file_manager N/A LBRYFileManager session stream_info_manager sd_identifier N/A N/A ul_rate_limit None N/A N/A N/A N/A N/A session rate_limiter set_ul_limit ul_rate_limit make_downloader N/A N/A metadata prm N/A N/A N/A info_validator N/A metadata validator N/A options N/A metadata options N/A factories N/A metadata factories N/A chosen_options N/A N/A o default_value N/A o N/A N/A options get_downloader_options info_validator prm N/A N/A N/A N/A factories N/A 0 make_downloader metadata chosen_options prm N/A download_file N/A N/A N/A N/A N/A prm N/A PaymentRateManager N/A session base_payment_rate_manager N/A d N/A download_sd_blob session sd_hash prm N/A N/A N/A d addCallback N/A sd_identifier get_metadata_for_sd_blob N/A N/A N/A d addCallback make_downloader prm N/A N/A N/A d addCallback N/A N/A N/A downloader N/A N/A N/A downloader start N/A d N/A start_transfer N/A N/A N/A N/A N/A N/A N/A logging debug Starting the transfer N/A d N/A N/A session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A add_lbry_file_to_sd_identifier sd_identifier N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A lbry_file_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A download_file N/A d N/A start_server N/A N/A N/A N/A N/A server_port None N/A query_handler_factories N/A N/A BlobAvailabilityHandlerFactory N/A session blob_manager N/A BlobRequestHandlerFactory N/A session blob_manager N/A session wallet N/A PaymentRateManager N/A session base_payment_rate_manager N/A N/A N/A session wallet get_wallet_info_query_handler_factory True True True N/A server_factory N/A ServerProtocolFactory N/A session rate_limiter query_handler_factories N/A session peer_manager N/A server_port N/A N/A reactor listenTCP peer_port server_factory N/A N/A N/A logging debug Started listening kill_server N/A N/A N/A N/A N/A ds N/A N/A N/A N/A ds append N/A N/A session shut_down N/A N/A N/A ds append N/A N/A lbry_file_manager stop N/A server_port N/A N/A N/A N/A ds append N/A N/A server_port stopListening N/A N/A N/A kill_check stop N/A N/A N/A dead_event set N/A dl N/A N/A defer DeferredList ds N/A N/A N/A dl addCallback N/A N/A N/A _ N/A N/A N/A reactor stop N/A dl N/A check_for_kill N/A N/A N/A N/A N/A N/A N/A kill_event is_set N/A N/A N/A kill_server N/A N/A kill_check N/A N/A task LoopingCall check_for_kill N/A N/A N/A kill_check start 1.0 N/A N/A N/A ready_event set N/A N/A N/A logging debug set the ready event N/A N/A d N/A N/A task deferLater reactor 1.0 start_transfer N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A start_server N/A N/A N/A reactor run N/A start_live_server N/A N/A sd_hash_queue kill_event dead_event N/A N/A N/A N/A sys modules N/A N/A N/A sys modules copy N/A N/A N/A sys modules N/A twisted.internet.reactor N/A twisted.internet N/A N/A N/A twisted internet reactor N/A N/A N/A N/A twisted internet epollreactor EPollReactor N/A N/A N/A sys modules N/A twisted.internet.reactor N/A N/A twisted internet reactor twisted.internet reactor N/A N/A N/A logging debug In start_server. N/A N/A N/A Random atfork N/A r N/A N/A random Random N/A N/A N/A r seed start_live_server N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 1 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A DummyRateLimiter N/A sd_identifier N/A StreamDescriptorIdentifier N/A db_dir server N/A N/A N/A os mkdir db_dir N/A session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid abcd peer_finder peer_finder hash_announcer hash_announcer peer_port 5553 use_upnp False rate_limiter rate_limiter wallet wallet N/A base_payment_rate_manager N/A BaseLiveStreamPaymentRateManager MIN_BLOB_INFO_PAYMENT_RATE N/A data_payment_rate_manager N/A PaymentRateManager N/A session base_payment_rate_manager N/A payment_rate_manager N/A LiveStreamPaymentRateManager base_payment_rate_manager data_payment_rate_manager N/A stream_info_manager N/A DBLiveStreamMetadataManager N/A session db_dir hash_announcer N/A N/A N/A logging debug Created the session N/A server_port N/A start_listening N/A N/A N/A N/A N/A N/A N/A logging debug Starting the server protocol N/A query_handler_factories N/A N/A CryptBlobInfoQueryHandlerFactory stream_info_manager N/A session wallet payment_rate_manager N/A BlobAvailabilityHandlerFactory N/A session blob_manager N/A BlobRequestHandlerFactory N/A session blob_manager N/A session wallet payment_rate_manager N/A N/A N/A session wallet get_wallet_info_query_handler_factory True True True True N/A server_factory N/A ServerProtocolFactory N/A session rate_limiter query_handler_factories N/A session peer_manager N/A N/A N/A server_port append N/A N/A reactor listenTCP 5553 server_factory N/A N/A N/A logging debug Server protocol has started N/A create_stream N/A N/A N/A N/A N/A N/A N/A logging debug Making the live stream N/A test_file N/A GenFile 5209343 N/A N/A join N/A N/A chr N/A i 2 N/A i N/A xrange 0 64 6 N/A stream_creator_helper N/A FileLiveStreamCreator N/A session blob_manager stream_info_manager test_file test_file N/A d N/A N/A stream_creator_helper setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A stream_creator_helper publish_stream_descriptor N/A N/A N/A d addCallback put_sd_hash_on_queue N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A stream_creator_helper start_streaming N/A d N/A put_sd_hash_on_queue N/A N/A sd_hash N/A N/A N/A N/A N/A logging debug Telling the client to start running. Stream hash: %s N/A str sd_hash N/A N/A N/A sd_hash_queue put sd_hash N/A N/A N/A logging debug sd hash has been added to the queue N/A set_dead_event N/A N/A N/A N/A N/A N/A N/A logging debug Setting the dead event N/A N/A N/A dead_event set N/A print_error N/A N/A err N/A N/A N/A N/A N/A logging debug An error occurred during shutdown: %s N/A N/A err getTraceback N/A stop_reactor N/A N/A N/A N/A N/A N/A N/A logging debug Server is stopping its reactor N/A N/A N/A reactor stop N/A shut_down N/A N/A arg N/A N/A N/A N/A N/A logging debug Shutting down N/A N/A isinstance arg Failure N/A N/A N/A N/A logging error Shut down is due to an error: %s N/A N/A arg getTraceback N/A d N/A N/A defer maybeDeferred N/A N/A server_port N/A 0 stopListening N/A N/A N/A d addErrback print_error N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A session shut_down N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A stream_info_manager stop N/A N/A N/A d addErrback print_error N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A set_dead_event N/A N/A N/A d addErrback print_error N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A reactor callLater 0 stop_reactor N/A N/A N/A d addErrback print_error N/A d N/A wait_for_kill_event N/A N/A N/A N/A N/A d N/A N/A defer Deferred check_for_kill N/A N/A N/A N/A N/A N/A N/A kill_event is_set N/A N/A N/A N/A logging debug Kill event has been found set N/A N/A N/A kill_check stop N/A N/A N/A d callback True N/A N/A kill_check N/A N/A task LoopingCall check_for_kill N/A N/A N/A kill_check start 1.0 N/A d N/A enable_live_stream N/A N/A N/A N/A N/A base_live_stream_payment_rate_manager N/A BaseLiveStreamPaymentRateManager MIN_BLOB_INFO_PAYMENT_RATE N/A N/A add_live_stream_to_sd_identifier sd_identifier base_live_stream_payment_rate_manager N/A N/A add_full_live_stream_downloader_to_sd_identifier session stream_info_manager sd_identifier base_live_stream_payment_rate_manager N/A run_server N/A N/A N/A N/A N/A d N/A N/A session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A stream_info_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A enable_live_stream N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A start_listening N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A create_stream N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A wait_for_kill_event N/A N/A N/A d addBoth shut_down N/A d N/A N/A N/A N/A reactor callLater 1 run_server N/A N/A N/A reactor run N/A start_blob_uploader N/A N/A blob_hash_queue kill_event dead_event slow N/A N/A N/A N/A sys modules N/A N/A N/A sys modules copy N/A N/A N/A sys modules N/A twisted.internet.reactor N/A twisted.internet N/A N/A N/A twisted internet reactor N/A N/A N/A N/A twisted internet epollreactor EPollReactor N/A N/A N/A sys modules N/A twisted.internet.reactor N/A N/A twisted internet reactor twisted.internet reactor N/A N/A N/A logging debug Starting the uploader N/A N/A N/A Random atfork N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 1 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A RateLimiter N/A N/A slow True N/A N/A peer_port 5553 N/A db_dir server1 N/A N/A peer_port 5554 N/A db_dir server2 N/A blob_dir N/A N/A N/A os path join db_dir blobfiles N/A N/A N/A os mkdir db_dir N/A N/A N/A os mkdir blob_dir N/A session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid efgh peer_finder peer_finder hash_announcer hash_announcer blob_dir blob_dir peer_port peer_port use_upnp False rate_limiter rate_limiter wallet wallet N/A N/A slow True N/A N/A N/A N/A N/A session rate_limiter set_ul_limit N/A 2 11 start_all N/A N/A N/A N/A N/A d N/A N/A session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A start_server N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A create_single_blob N/A N/A N/A d addCallback put_blob_hash_on_queue print_error N/A N/A err N/A N/A N/A N/A N/A logging critical Server error: %s N/A N/A err getErrorMessage N/A N/A N/A N/A d addErrback print_error N/A d N/A start_server N/A N/A N/A N/A N/A server_port None N/A query_handler_factories N/A N/A BlobAvailabilityHandlerFactory N/A session blob_manager N/A BlobRequestHandlerFactory N/A session blob_manager N/A session wallet N/A PaymentRateManager N/A session base_payment_rate_manager N/A N/A N/A session wallet get_wallet_info_query_handler_factory True True True N/A server_factory N/A ServerProtocolFactory N/A session rate_limiter query_handler_factories N/A session peer_manager N/A server_port N/A N/A reactor listenTCP peer_port server_factory N/A N/A N/A logging debug Started listening kill_server N/A N/A N/A N/A N/A ds N/A N/A N/A N/A ds append N/A N/A session shut_down N/A server_port N/A N/A N/A N/A ds append N/A N/A server_port stopListening N/A N/A N/A kill_check stop N/A N/A N/A dead_event set N/A dl N/A N/A defer DeferredList ds N/A N/A N/A dl addCallback N/A N/A N/A _ N/A N/A N/A reactor stop N/A dl N/A check_for_kill N/A N/A N/A N/A N/A N/A N/A kill_event is_set N/A N/A N/A kill_server N/A N/A kill_check N/A N/A task LoopingCall check_for_kill N/A N/A N/A kill_check start 1.0 N/A True N/A create_single_blob N/A N/A N/A N/A N/A blob_creator N/A N/A N/A session blob_manager get_blob_creator N/A N/A N/A blob_creator write N/A 0 N/A 2 21 N/A N/A N/A blob_creator close N/A put_blob_hash_on_queue N/A N/A blob_hash N/A N/A N/A N/A N/A logging debug Telling the client to start running. Blob hash: %s N/A str blob_hash N/A N/A N/A blob_hash_queue put blob_hash N/A N/A N/A logging debug blob hash has been added to the queue N/A N/A N/A N/A reactor callLater 1 start_all N/A N/A N/A reactor run N/A TestTransfer N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self server_processes N/A N/A N/A self session None N/A N/A self stream_info_manager None N/A N/A self lbry_file_manager None N/A N/A N/A self addCleanup N/A self take_down_env N/A take_down_env N/A N/A self N/A N/A N/A d N/A N/A defer succeed True N/A N/A N/A self lbry_file_manager None N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self lbry_file_manager stop N/A N/A N/A self session None N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self session shut_down N/A N/A N/A self stream_info_manager None N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self stream_info_manager stop delete_test_env N/A N/A N/A N/A N/A dirs N/A server server1 server2 client N/A files N/A test_file N/A di dirs N/A N/A N/A N/A N/A os path exists di N/A N/A N/A N/A shutil rmtree di N/A f files N/A N/A N/A N/A N/A os path exists f N/A N/A N/A N/A os remove f N/A p N/A self server_processes N/A N/A N/A N/A p terminate N/A True N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A threads deferToThread delete_test_env N/A d N/A wait_for_event N/A N/A event timeout N/A N/A twisted.internet reactor N/A d N/A N/A defer Deferred stop N/A N/A N/A N/A N/A N/A N/A set_check stop N/A N/A N/A stop_call active N/A N/A N/A N/A stop_call cancel N/A N/A N/A d callback True N/A check_if_event_set N/A N/A N/A N/A N/A N/A N/A event is_set N/A N/A N/A N/A logging debug Dead event has been found set N/A N/A stop N/A done_waiting N/A N/A N/A N/A N/A N/A N/A logging warning Event has not been found set and timeout has expired N/A N/A stop N/A N/A set_check N/A N/A task LoopingCall check_if_event_set N/A N/A N/A set_check start 0.1 N/A stop_call N/A N/A reactor callLater timeout done_waiting N/A d N/A staticmethod wait_for_hash_from_queue N/A N/A hash_queue N/A N/A N/A N/A N/A logging debug Waiting for the sd_hash to come through the queue N/A d N/A N/A defer Deferred check_for_start N/A N/A N/A N/A N/A N/A N/A N/A hash_queue empty False N/A N/A N/A N/A logging debug Client start event has been found set N/A N/A N/A start_check stop N/A N/A N/A d callback N/A N/A hash_queue get False N/A N/A N/A N/A logging debug Client start event has NOT been found set N/A N/A start_check N/A N/A task LoopingCall check_for_start N/A N/A N/A start_check start 1.0 N/A d N/A staticmethod test_lbry_transfer N/A N/A self N/A N/A N/A sd_hash_queue N/A Queue N/A kill_event N/A Event N/A dead_event N/A Event N/A uploader N/A Process target start_lbry_uploader args N/A sd_hash_queue kill_event dead_event 5209343 N/A N/A N/A uploader start N/A N/A N/A N/A self server_processes append uploader N/A N/A N/A logging debug Testing transfer N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 1 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A DummyRateLimiter N/A sd_identifier N/A StreamDescriptorIdentifier N/A db_dir client N/A blob_dir N/A N/A N/A os path join db_dir blobfiles N/A N/A N/A os mkdir db_dir N/A N/A N/A os mkdir blob_dir N/A N/A self session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid abcd peer_finder peer_finder hash_announcer hash_announcer blob_dir blob_dir peer_port 5553 use_upnp False rate_limiter rate_limiter wallet wallet N/A N/A self stream_info_manager N/A TempLBRYFileMetadataManager N/A N/A self lbry_file_manager N/A LBRYFileManager N/A self session N/A self stream_info_manager sd_identifier make_downloader N/A N/A metadata prm N/A N/A N/A info_validator N/A metadata validator N/A options N/A metadata options N/A factories N/A metadata factories N/A chosen_options N/A N/A o default_value N/A o N/A N/A options get_downloader_options info_validator prm N/A N/A N/A N/A factories N/A 0 make_downloader metadata chosen_options prm N/A download_file N/A N/A sd_hash N/A N/A N/A prm N/A PaymentRateManager N/A N/A self session base_payment_rate_manager N/A d N/A download_sd_blob N/A self session sd_hash prm N/A N/A N/A d addCallback N/A sd_identifier get_metadata_for_sd_blob N/A N/A N/A d addCallback make_downloader prm N/A N/A N/A d addCallback N/A N/A N/A downloader N/A N/A N/A downloader start N/A d N/A check_md5_sum N/A N/A N/A N/A N/A f N/A open test_file N/A hashsum N/A N/A MD5 new N/A N/A N/A hashsum update N/A N/A f read N/A N/A N/A self assertEqual N/A N/A hashsum hexdigest 4ca2aafb4101c1e42235aad24fbb83be N/A start_transfer N/A N/A sd_hash N/A N/A N/A N/A N/A logging debug Starting the transfer N/A d N/A N/A N/A self session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A add_lbry_file_to_sd_identifier sd_identifier N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self lbry_file_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A download_file sd_hash N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A check_md5_sum N/A d N/A stop N/A N/A arg N/A N/A N/A N/A isinstance arg Failure N/A N/A N/A N/A logging debug Client is stopping due to an error. Error: %s N/A N/A arg getTraceback N/A N/A N/A N/A logging debug Client is stopping normally. N/A N/A N/A kill_event set N/A N/A N/A logging debug Set the kill event N/A d N/A N/A self wait_for_event dead_event 15 print_shutting_down N/A N/A N/A N/A N/A N/A N/A logging info Client is shutting down N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A print_shutting_down N/A N/A N/A d addCallback N/A N/A N/A _ N/A arg N/A d N/A N/A d N/A N/A self wait_for_hash_from_queue sd_hash_queue N/A N/A N/A d addCallback start_transfer N/A N/A N/A d addBoth stop N/A d N/A test_live_transfer N/A N/A self N/A N/A N/A sd_hash_queue N/A Queue N/A kill_event N/A Event N/A dead_event N/A Event N/A server_args N/A sd_hash_queue kill_event dead_event N/A server N/A Process target start_live_server args server_args N/A N/A N/A server start N/A N/A N/A N/A self server_processes append server N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 1 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A DummyRateLimiter N/A sd_identifier N/A StreamDescriptorIdentifier N/A db_dir client N/A N/A N/A os mkdir db_dir N/A N/A self session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid abcd peer_finder peer_finder hash_announcer hash_announcer blob_dir None peer_port 5553 use_upnp False rate_limiter rate_limiter wallet wallet N/A N/A self stream_info_manager N/A TempLiveStreamMetadataManager hash_announcer N/A d N/A N/A self wait_for_hash_from_queue sd_hash_queue create_downloader N/A N/A metadata prm N/A N/A N/A info_validator N/A metadata validator N/A options N/A metadata options N/A factories N/A metadata factories N/A chosen_options N/A N/A o default_value N/A o N/A N/A options get_downloader_options info_validator prm N/A N/A N/A N/A factories N/A 0 make_downloader metadata chosen_options prm N/A start_lbry_file N/A N/A lbry_file N/A N/A N/A lbry_file lbry_file N/A N/A N/A logging debug Calling lbry_file.start() N/A N/A N/A lbry_file start N/A download_stream N/A N/A sd_blob_hash N/A N/A N/A N/A N/A logging debug Downloaded the sd blob. Reading it now N/A prm N/A PaymentRateManager N/A N/A self session base_payment_rate_manager N/A d N/A download_sd_blob N/A self session sd_blob_hash prm N/A N/A N/A d addCallback N/A sd_identifier get_metadata_for_sd_blob N/A N/A N/A d addCallback create_downloader prm N/A N/A N/A d addCallback start_lbry_file N/A d N/A do_download N/A N/A sd_blob_hash N/A N/A N/A N/A N/A logging debug Starting the download N/A d N/A N/A N/A self session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A enable_live_stream N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A download_stream sd_blob_hash N/A d N/A enable_live_stream N/A N/A N/A N/A N/A base_live_stream_payment_rate_manager N/A BaseLiveStreamPaymentRateManager MIN_BLOB_INFO_PAYMENT_RATE N/A N/A add_live_stream_to_sd_identifier sd_identifier base_live_stream_payment_rate_manager N/A N/A add_full_live_stream_downloader_to_sd_identifier N/A self session N/A self stream_info_manager sd_identifier base_live_stream_payment_rate_manager N/A N/A N/A N/A d addCallback do_download check_md5_sum N/A N/A N/A N/A N/A f N/A open test_file N/A hashsum N/A N/A MD5 new N/A N/A N/A hashsum update N/A N/A f read N/A N/A N/A self assertEqual N/A N/A hashsum hexdigest 215b177db8eed86d028b37e5cbad55c7 N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A check_md5_sum stop N/A N/A arg N/A N/A N/A N/A isinstance arg Failure N/A N/A N/A N/A logging debug Client is stopping due to an error. Error: %s N/A N/A arg getTraceback N/A N/A N/A N/A logging debug Client is stopping normally. N/A N/A N/A kill_event set N/A N/A N/A logging debug Set the kill event N/A d N/A N/A self wait_for_event dead_event 15 print_shutting_down N/A N/A N/A N/A N/A N/A N/A logging info Client is shutting down N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A print_shutting_down N/A N/A N/A d addCallback N/A N/A N/A _ N/A arg N/A d N/A N/A N/A N/A d addBoth stop N/A d N/A test_last_blob_retrieval N/A N/A self N/A N/A N/A kill_event N/A Event N/A dead_event_1 N/A Event N/A blob_hash_queue_1 N/A Queue N/A blob_hash_queue_2 N/A Queue N/A fast_uploader N/A Process target start_blob_uploader args N/A blob_hash_queue_1 kill_event dead_event_1 False N/A N/A N/A fast_uploader start N/A N/A N/A N/A self server_processes append fast_uploader N/A dead_event_2 N/A Event N/A slow_uploader N/A Process target start_blob_uploader args N/A blob_hash_queue_2 kill_event dead_event_2 True N/A N/A N/A slow_uploader start N/A N/A N/A N/A self server_processes append slow_uploader N/A N/A N/A logging debug Testing transfer N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 2 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A DummyRateLimiter N/A db_dir client N/A blob_dir N/A N/A N/A os path join db_dir blobfiles N/A N/A N/A os mkdir db_dir N/A N/A N/A os mkdir blob_dir N/A N/A self session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid abcd peer_finder peer_finder hash_announcer hash_announcer blob_dir blob_dir peer_port 5553 use_upnp False rate_limiter rate_limiter wallet wallet N/A d1 N/A N/A self wait_for_hash_from_queue blob_hash_queue_1 N/A d2 N/A N/A self wait_for_hash_from_queue blob_hash_queue_2 N/A d N/A N/A defer DeferredList N/A d1 d2 fireOnOneErrback True get_blob_hash N/A N/A results N/A N/A N/A N/A N/A self assertEqual N/A N/A results N/A 0 N/A 1 N/A N/A results N/A 1 N/A 1 N/A N/A N/A results N/A 0 N/A 1 N/A N/A N/A N/A d addCallback get_blob_hash download_blob N/A N/A blob_hash N/A N/A N/A prm N/A PaymentRateManager N/A N/A self session base_payment_rate_manager N/A downloader N/A StandaloneBlobDownloader blob_hash N/A N/A self session blob_manager peer_finder rate_limiter prm wallet N/A d N/A N/A downloader download N/A d N/A start_transfer N/A N/A blob_hash N/A N/A N/A N/A N/A logging debug Starting the transfer N/A d N/A N/A N/A self session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A download_blob blob_hash N/A d N/A N/A N/A N/A d addCallback start_transfer stop N/A N/A arg N/A N/A N/A N/A isinstance arg Failure N/A N/A N/A N/A logging debug Client is stopping due to an error. Error: %s N/A N/A arg getTraceback N/A N/A N/A N/A logging debug Client is stopping normally. N/A N/A N/A kill_event set N/A N/A N/A logging debug Set the kill event N/A d1 N/A N/A self wait_for_event dead_event_1 15 N/A d2 N/A N/A self wait_for_event dead_event_2 15 N/A dl N/A N/A defer DeferredList N/A d1 d2 print_shutting_down N/A N/A N/A N/A N/A N/A N/A logging info Client is shutting down N/A N/A N/A N/A dl addCallback N/A N/A N/A _ N/A N/A print_shutting_down N/A N/A N/A dl addCallback N/A N/A N/A _ N/A arg N/A dl N/A N/A N/A N/A d addBoth stop N/A d N/A test_double_download N/A N/A self N/A N/A N/A sd_hash_queue N/A Queue N/A kill_event N/A Event N/A dead_event N/A Event N/A uploader N/A Process target start_lbry_uploader args N/A sd_hash_queue kill_event dead_event 5209343 N/A N/A N/A uploader start N/A N/A N/A N/A self server_processes append uploader N/A N/A N/A logging debug Testing double download N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 1 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A DummyRateLimiter N/A sd_identifier N/A StreamDescriptorIdentifier N/A downloaders N/A N/A db_dir client N/A blob_dir N/A N/A N/A os path join db_dir blobfiles N/A N/A N/A os mkdir db_dir N/A N/A N/A os mkdir blob_dir N/A N/A self session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid abcd peer_finder peer_finder hash_announcer hash_announcer blob_dir blob_dir peer_port 5553 use_upnp False rate_limiter rate_limiter wallet wallet N/A N/A self stream_info_manager N/A DBLBRYFileMetadataManager N/A N/A self session db_dir N/A N/A self lbry_file_manager N/A LBRYFileManager N/A self session N/A self stream_info_manager sd_identifier make_downloader N/A N/A metadata prm N/A N/A N/A info_validator N/A metadata validator N/A options N/A metadata options N/A factories N/A metadata factories N/A chosen_options N/A N/A o default_value N/A o N/A N/A options get_downloader_options info_validator prm N/A N/A N/A N/A factories N/A 0 make_downloader metadata chosen_options prm N/A append_downloader N/A N/A downloader N/A N/A N/A N/A N/A downloaders append downloader N/A downloader N/A download_file N/A N/A sd_hash N/A N/A N/A prm N/A PaymentRateManager N/A N/A self session base_payment_rate_manager N/A d N/A download_sd_blob N/A self session sd_hash prm N/A N/A N/A d addCallback N/A sd_identifier get_metadata_for_sd_blob N/A N/A N/A d addCallback make_downloader prm N/A N/A N/A d addCallback append_downloader N/A N/A N/A d addCallback N/A N/A N/A downloader N/A N/A N/A downloader start N/A d N/A check_md5_sum N/A N/A N/A N/A N/A f N/A open test_file N/A hashsum N/A N/A MD5 new N/A N/A N/A hashsum update N/A N/A f read N/A N/A N/A self assertEqual N/A N/A hashsum hexdigest 4ca2aafb4101c1e42235aad24fbb83be N/A delete_lbry_file N/A N/A N/A N/A N/A N/A N/A logging debug deleting the file... N/A d N/A N/A N/A self lbry_file_manager delete_lbry_file N/A downloaders N/A 0 N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self lbry_file_manager get_count_for_stream_hash N/A N/A downloaders N/A 0 stream_hash N/A N/A N/A d addCallback N/A N/A N/A c N/A N/A N/A c 0 N/A N/A N/A self stream_info_manager delete_stream N/A N/A downloaders N/A 1 stream_hash True N/A d N/A check_lbry_file N/A N/A N/A N/A N/A d N/A N/A N/A downloaders N/A 1 status N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A downloaders N/A 1 status check_status_report N/A N/A status_report N/A N/A N/A N/A N/A self assertEqual N/A status_report num_known N/A status_report num_completed N/A N/A N/A self assertEqual N/A status_report num_known 3 N/A N/A N/A N/A d addCallback check_status_report N/A d N/A start_transfer N/A N/A sd_hash N/A N/A N/A N/A N/A logging debug Starting the transfer N/A d N/A N/A N/A self session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self stream_info_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A add_lbry_file_to_sd_identifier sd_identifier N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self lbry_file_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A download_file sd_hash N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A check_md5_sum N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A download_file sd_hash N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A delete_lbry_file N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A check_lbry_file N/A d N/A stop N/A N/A arg N/A N/A N/A N/A isinstance arg Failure N/A N/A N/A N/A logging debug Client is stopping due to an error. Error: %s N/A N/A arg getTraceback N/A N/A N/A N/A logging debug Client is stopping normally. N/A N/A N/A kill_event set N/A N/A N/A logging debug Set the kill event N/A d N/A N/A self wait_for_event dead_event 15 print_shutting_down N/A N/A N/A N/A N/A N/A N/A logging info Client is shutting down N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A print_shutting_down N/A N/A N/A d addCallback N/A N/A N/A _ N/A arg N/A d N/A N/A d N/A N/A self wait_for_hash_from_queue sd_hash_queue N/A N/A N/A d addCallback start_transfer N/A N/A N/A d addBoth stop N/A d N/A test_multiple_uploaders N/A N/A self N/A N/A N/A sd_hash_queue N/A Queue N/A num_uploaders 3 N/A kill_event N/A Event N/A dead_events N/A N/A Event N/A _ N/A range num_uploaders N/A ready_events N/A N/A Event N/A _ N/A range 1 num_uploaders N/A uploader N/A Process target start_lbry_uploader args N/A sd_hash_queue kill_event N/A dead_events N/A 0 9373419 N/A 2 22 N/A N/A N/A uploader start N/A N/A N/A N/A self server_processes append uploader N/A N/A N/A logging debug Testing multiple uploaders N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager num_uploaders N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A DummyRateLimiter N/A sd_identifier N/A StreamDescriptorIdentifier N/A db_dir client N/A blob_dir N/A N/A N/A os path join db_dir blobfiles N/A N/A N/A os mkdir db_dir N/A N/A N/A os mkdir blob_dir N/A N/A self session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid abcd peer_finder peer_finder hash_announcer hash_announcer blob_dir None peer_port 5553 use_upnp False rate_limiter rate_limiter wallet wallet N/A N/A self stream_info_manager N/A TempLBRYFileMetadataManager N/A N/A self lbry_file_manager N/A LBRYFileManager N/A self session N/A self stream_info_manager sd_identifier start_additional_uploaders N/A N/A sd_hash N/A N/A N/A i N/A range 1 num_uploaders N/A N/A uploader N/A Process target start_lbry_reuploader args N/A sd_hash kill_event N/A dead_events N/A i N/A ready_events N/A N/A i 1 i N/A 2 10 N/A N/A N/A uploader start N/A N/A N/A N/A self server_processes append uploader N/A N/A N/A defer succeed True N/A wait_for_ready_events N/A N/A N/A N/A N/A N/A N/A defer DeferredList N/A N/A N/A self wait_for_event ready_event 60 N/A ready_event ready_events N/A make_downloader N/A N/A metadata prm N/A N/A N/A info_validator N/A metadata validator N/A options N/A metadata options N/A factories N/A metadata factories N/A chosen_options N/A N/A o default_value N/A o N/A N/A options get_downloader_options info_validator prm N/A N/A N/A N/A factories N/A 0 make_downloader metadata chosen_options prm N/A download_file N/A N/A sd_hash N/A N/A N/A prm N/A PaymentRateManager N/A N/A self session base_payment_rate_manager N/A d N/A download_sd_blob N/A self session sd_hash prm N/A N/A N/A d addCallback N/A sd_identifier get_metadata_for_sd_blob N/A N/A N/A d addCallback make_downloader prm N/A N/A N/A d addCallback N/A N/A N/A downloader N/A N/A N/A downloader start N/A d N/A check_md5_sum N/A N/A N/A N/A N/A f N/A open test_file N/A hashsum N/A N/A MD5 new N/A N/A N/A hashsum update N/A N/A f read N/A N/A N/A self assertEqual N/A N/A hashsum hexdigest e5941d615f53312fd66638239c1f90d5 N/A start_transfer N/A N/A sd_hash N/A N/A N/A N/A N/A logging debug Starting the transfer N/A d N/A start_additional_uploaders sd_hash N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A wait_for_ready_events N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A add_lbry_file_to_sd_identifier sd_identifier N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self lbry_file_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A download_file sd_hash N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A check_md5_sum N/A d N/A stop N/A N/A arg N/A N/A N/A N/A isinstance arg Failure N/A N/A N/A N/A logging debug Client is stopping due to an error. Error: %s N/A N/A arg getTraceback N/A N/A N/A N/A logging debug Client is stopping normally. N/A N/A N/A kill_event set N/A N/A N/A logging debug Set the kill event N/A d N/A N/A defer DeferredList N/A N/A N/A self wait_for_event dead_event 15 N/A dead_event dead_events print_shutting_down N/A N/A N/A N/A N/A N/A N/A logging info Client is shutting down N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A print_shutting_down N/A N/A N/A d addCallback N/A N/A N/A _ N/A arg N/A d N/A N/A d N/A N/A self wait_for_hash_from_queue sd_hash_queue N/A N/A N/A d addCallback start_transfer N/A N/A N/A d addBoth stop N/A d N/A N/A TestStreamify N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self session None N/A N/A self stream_info_manager None N/A N/A self lbry_file_manager None N/A N/A N/A self addCleanup N/A self take_down_env N/A take_down_env N/A N/A self N/A N/A N/A d N/A N/A defer succeed True N/A N/A N/A self lbry_file_manager None N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self lbry_file_manager stop N/A N/A N/A self session None N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self session shut_down N/A N/A N/A self stream_info_manager None N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self stream_info_manager stop delete_test_env N/A N/A N/A N/A N/A N/A N/A shutil rmtree client N/A N/A N/A N/A os path exists test_file N/A N/A N/A N/A os remove test_file N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A threads deferToThread delete_test_env N/A d N/A test_create_stream N/A N/A self N/A N/A N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 2 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A DummyRateLimiter N/A sd_identifier N/A StreamDescriptorIdentifier N/A db_dir client N/A blob_dir N/A N/A N/A os path join db_dir blobfiles N/A N/A N/A os mkdir db_dir N/A N/A N/A os mkdir blob_dir N/A N/A self session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid abcd peer_finder peer_finder hash_announcer hash_announcer blob_dir blob_dir peer_port 5553 use_upnp False rate_limiter rate_limiter wallet wallet N/A N/A self stream_info_manager N/A TempLBRYFileMetadataManager N/A N/A self lbry_file_manager N/A LBRYFileManager N/A self session N/A self stream_info_manager sd_identifier N/A d N/A N/A N/A self session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self stream_info_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A add_lbry_file_to_sd_identifier sd_identifier N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self lbry_file_manager setup verify_equal N/A N/A sd_info N/A N/A N/A N/A N/A self assertEqual sd_info test_create_stream_sd_file N/A verify_stream_descriptor_file N/A N/A stream_hash N/A N/A N/A d N/A get_sd_info N/A N/A self lbry_file_manager stream_info_manager stream_hash True N/A N/A N/A d addCallback verify_equal N/A d N/A iv_generator N/A N/A N/A N/A N/A iv 0 N/A 1 N/A N/A iv 1 N/A N/A N/A %016d iv N/A create_stream N/A N/A N/A N/A N/A test_file N/A GenFile 5209343 N/A N/A join N/A N/A chr N/A i 3 N/A i N/A xrange 0 64 6 N/A d N/A create_lbry_file N/A self session N/A self lbry_file_manager test_file test_file key 0123456701234567 iv_generator N/A iv_generator N/A d N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A create_stream N/A N/A N/A d addCallback verify_stream_descriptor_file N/A d N/A test_create_and_combine_stream N/A N/A self N/A N/A N/A wallet N/A FakeWallet N/A peer_manager N/A PeerManager N/A peer_finder N/A FakePeerFinder 5553 peer_manager 2 N/A hash_announcer N/A FakeAnnouncer N/A rate_limiter N/A DummyRateLimiter N/A sd_identifier N/A StreamDescriptorIdentifier N/A db_dir client N/A blob_dir N/A N/A N/A os path join db_dir blobfiles N/A N/A N/A os mkdir db_dir N/A N/A N/A os mkdir blob_dir N/A N/A self session N/A LBRYSession MIN_BLOB_DATA_PAYMENT_RATE db_dir db_dir lbryid abcd peer_finder peer_finder hash_announcer hash_announcer blob_dir blob_dir peer_port 5553 use_upnp False rate_limiter rate_limiter wallet wallet N/A N/A self stream_info_manager N/A DBLBRYFileMetadataManager N/A N/A self session db_dir N/A N/A self lbry_file_manager N/A LBRYFileManager N/A self session N/A self stream_info_manager sd_identifier start_lbry_file N/A N/A lbry_file N/A N/A N/A N/A N/A logging debug Calling lbry_file.start() N/A d N/A N/A lbry_file start N/A d N/A combine_stream N/A N/A stream_hash N/A N/A N/A prm N/A PaymentRateManager N/A N/A self session base_payment_rate_manager N/A d N/A N/A N/A self lbry_file_manager add_lbry_file stream_hash prm N/A N/A N/A d addCallback start_lbry_file check_md5_sum N/A N/A N/A N/A N/A f N/A open test_file N/A hashsum N/A N/A MD5 new N/A N/A N/A hashsum update N/A N/A f read N/A N/A N/A self assertEqual N/A N/A hashsum hexdigest 68959747edc73df45e45db6379dd7b3b N/A N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A check_md5_sum N/A d N/A create_stream N/A N/A N/A N/A N/A test_file N/A GenFile 53209343 N/A N/A join N/A N/A chr N/A i 5 N/A i N/A xrange 0 64 6 N/A N/A create_lbry_file N/A self session N/A self lbry_file_manager test_file test_file suggested_file_name test_file N/A N/A d N/A N/A N/A self session setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self stream_info_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A add_lbry_file_to_sd_identifier sd_identifier N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A N/A self lbry_file_manager setup N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A create_stream N/A N/A N/A d addCallback combine_stream N/A d N/A N/A