Module Expr Str Assign NameStore TupleLoad Str Str TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ImportFrom alias Import alias identifier Import alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareEq NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad orelse Return AttributeLoad NameLoad attr orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad orelse Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Return AttributeLoad NameLoad attr orelse Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad While NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameStore NameStore NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore NameLoad orelse Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Raise decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareEq NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr If CompareLt BinOpSub NameLoad NameLoad AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad Return NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad orelse Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Return AttributeLoad NameLoad attr orelse If CompareIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad Assign NameStore BinOpSub BinOpSub Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad orelse Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr While NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str NameLoad Return TupleLoad NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad AugAssignSub NameStore Num If CompareEq NameLoad Num body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str AttributeLoad NameLoad attr body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Return BinOpAdd BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str Call NameLoad Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args defaults body Return Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad While NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Return NameLoad orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr CompareGt NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str Return NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr body Pass orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr CompareGt NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Num body Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Expr Call AttributeLoad NameLoad attr While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad If CompareEq NameLoad AttributeLoad NameLoad attr body If CompareLt BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AugAssignAdd NameStore Num orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AugAssignSub NameStore Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str ListLoad Dict Expr Call AttributeLoad NameLoad attr Break orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam 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 NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword TupleLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr keyword NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad Break orelse Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str AttributeLoad NameLoad attr body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad TryFinally body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad Num NameLoad Num Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str ListLoad Dict decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Num NameLoad Num Str FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad Num NameLoad Num Str decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Num NameLoad Num Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return GeneratorExp SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad comprehension NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpDiv NameLoad Num Assign NameStore Call NameLoad BinOpDiv Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str ListLoad Dict decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr CompareEq BinOpMod AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad TryExcept body If CompareEq NameLoad Str body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Index Str If CompareNotEq AttributeLoad NameLoad attr NameLoad body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryFinally body While NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Break finalbody If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list Call NameLoad Num NameLoad Num Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Num body Assign NameStore Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore NameLoad While UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad Delete NameDel TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str While NameLoad body While BoolOpAnd CompareLt Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad Num NameLoad Num Str decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str TryFinally body Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad finalbody If CompareIsNot AttributeLoad NameLoad attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str TryFinally body Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad finalbody If CompareIsNot AttributeLoad NameLoad attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr CompareEq BinOpMod AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad AugAssignAdd AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Module containing wrappers for multiprocessing N/A __author__ N/A Robert Meyer Mehmet Nevvaf Timur N/A N/A thread error ThreadError N/A N/A N/A ImportError N/A threading ThreadError N/A N/A N/A queue N/A N/A N/A ImportError N/A N/A Queue queue N/A N/A N/A cPickle pickle N/A N/A N/A ImportError N/A N/A pickle N/A N/A N/A zmq N/A N/A N/A ImportError N/A N/A zmq None collections deque N/A copy cp N/A gc N/A sys threading Thread N/A time N/A os N/A socket N/A pypet.pypetconstants pypetconstants pypet.pypetlogging HasLogger pypet.utils.decorators retry MultiprocWrapper N/A object N/A N/A Abstract class definition of a Wrapper.

    Note that only storing is required, loading is optional.

    ABSTRACT: Needs to be defined in subclass

     is_open N/A N/A self N/A N/A N/A  Normally the file is opened and closed after each insertion.

        However, the storage service may provide to keep the store open and signals
        this via this property.

         N/A False N/A property multiproc_safe N/A N/A self N/A N/A N/A This wrapper guarantees multiprocessing safety N/A True N/A property store N/A N/A self N/A args kwargs N/A N/A N/A NotImplementedError Implement this! N/A N/A ZMQServer N/A HasLogger N/A N/A  Generic zmq server  N/A PING PING N/A PONG PONG N/A DONE DONE N/A CLOSED CLOSED __init__ N/A N/A self url N/A tcp://127.0.0.1:7777 N/A N/A N/A self _url url N/A N/A N/A self _set_logger N/A N/A self _context None N/A N/A self _socket None N/A _start N/A N/A self N/A N/A N/A N/A N/A N/A self _logger info N/A Starting Server at `%s` N/A self _url N/A N/A self _context N/A N/A zmq Context N/A N/A self _socket N/A N/A N/A self _context socket N/A zmq REP N/A N/A N/A N/A self _socket bind N/A self _url N/A _close N/A N/A self N/A N/A N/A N/A N/A N/A self _logger info Closing Server N/A N/A N/A N/A self _socket close N/A N/A N/A N/A self _context term N/A N/A LockerServer N/A ZMQServer N/A N/A  Manages a database of locks  N/A LOCK LOCK N/A RELEASE_ERROR RELEASE_ERROR N/A MSG_ERROR MSG_ERROR N/A UNLOCK UNLOCK N/A RELEASED RELEASED N/A LOCK_ERROR LOCK_ERROR N/A GO GO N/A WAIT WAIT N/A DELIMITER ::: N/A DEFAULT_LOCK _DEFAULT_ __init__ N/A N/A self url N/A tcp://127.0.0.1:7777 N/A N/A N/A N/A N/A super LockerServer self __init__ url N/A N/A self _locks N/A N/A _pre_respond_hook N/A N/A self response N/A N/A N/A  Hook that can be used to temper with the server before responding

        :param response: Response to be send

        :return: Boolean value if response should be send or not

         N/A True N/A _lock N/A N/A self name client_id request_id N/A N/A N/A Hanldes locking of locks

        If a lock is already locked sends a WAIT command,
        else LOCKs it and sends GO.

        Complains if a given client re-locks a lock without releasing it before.

         N/A N/A name N/A self _locks N/A N/A N/A other_client_id other_request_id N/A N/A self _locks N/A name N/A N/A other_client_id client_id N/A N/A response N/A N/A N/A self LOCK_ERROR N/A self DELIMITER N/A Re-request of lock `%s` (old request id `%s`) by `%s` (request id `%s`) N/A name client_id other_request_id request_id N/A N/A N/A N/A self _logger warning response N/A response N/A N/A N/A self WAIT N/A N/A N/A N/A self _locks N/A name N/A client_id request_id N/A N/A self GO N/A _unlock N/A N/A self name client_id request_id N/A N/A N/A Handles unlocking

        Complains if a non-existent lock should be released or
        if a lock should be released that was acquired by
        another client before.

         N/A N/A name N/A self _locks N/A N/A N/A other_client_id other_request_id N/A N/A self _locks N/A name N/A N/A other_client_id client_id N/A N/A response N/A N/A N/A self RELEASE_ERROR N/A self DELIMITER N/A Lock `%s` was acquired by `%s` (old request id `%s`) and not by `%s` (request id `%s`) N/A name other_client_id other_request_id client_id request_id N/A N/A N/A N/A self _logger error response N/A response N/A N/A N/A N/A self _locks N/A name N/A N/A self RELEASED N/A N/A response N/A N/A N/A self RELEASE_ERROR N/A self DELIMITER N/A Lock `%s` cannot be found in database (client id `%s`, request id `%s`) N/A name client_id request_id N/A N/A N/A N/A self _logger error response N/A response N/A run N/A N/A self N/A N/A N/A Runs server N/A N/A N/A N/A N/A self _start N/A running True N/A running N/A N/A msg N/A name N/A client_id N/A request_id N/A request N/A N/A N/A self _socket recv_string N/A N/A N/A N/A self _logger log 1 Recevied REQ `%s` request N/A split_msg N/A N/A request split N/A self DELIMITER N/A N/A N/A len split_msg 4 N/A N/A N/A msg name client_id request_id split_msg N/A N/A msg N/A self LOCK N/A N/A response N/A N/A self _lock name client_id request_id N/A N/A N/A msg N/A self UNLOCK N/A N/A response N/A N/A self _unlock name client_id request_id N/A N/A N/A msg N/A self PING N/A N/A response N/A self PONG N/A N/A N/A msg N/A self DONE N/A N/A response N/A self CLOSED N/A running False N/A N/A response N/A N/A N/A self MSG_ERROR N/A self DELIMITER N/A Request `%s` not understood (or wrong number of delimiters) request N/A N/A N/A N/A self _logger error response N/A respond N/A N/A self _pre_respond_hook response N/A respond N/A N/A N/A N/A N/A self _logger log 1 Sending REP `%s` to `%s` (request id `%s`) response client_id request_id N/A N/A N/A N/A self _socket send_string response N/A N/A N/A self _close N/A N/A N/A Exception N/A N/A N/A N/A N/A self _logger exception Crashed Lock Server! N/A N/A N/A TimeOutLockerServer N/A LockerServer N/A N/A  Lock Server where each lock is valid only for a fixed period of time.  __init__ N/A N/A self url timeout N/A N/A N/A N/A N/A N/A super TimeOutLockerServer self __init__ url N/A N/A self _timeout timeout N/A N/A self _timeout_locks N/A N/A _lock N/A N/A self name client_id request_id N/A N/A N/A Handles locking

        Locking time is stored to determine time out.
        If a lock is timed out it can be acquired by a different client.

         N/A N/A name N/A self _locks N/A N/A N/A other_client_id other_request_id lock_time N/A N/A self _locks N/A name N/A N/A other_client_id client_id N/A N/A response N/A N/A N/A self LOCK_ERROR N/A self DELIMITER N/A Re-request of lock `%s` (old request id `%s`) by `%s` (request id `%s`) N/A name client_id other_request_id request_id N/A N/A N/A N/A self _logger warning response N/A response N/A N/A current_time N/A N/A time time N/A N/A N/A current_time lock_time N/A self _timeout N/A N/A N/A self WAIT N/A N/A response N/A N/A N/A self GO N/A self DELIMITER N/A Lock `%s` by `%s` (old request id `%s) timed out N/A name other_client_id other_request_id N/A N/A N/A N/A self _logger info response N/A N/A N/A self _locks N/A name N/A client_id request_id N/A N/A time time N/A N/A N/A self _timeout_locks N/A N/A name other_client_id N/A request_id lock_time N/A response N/A N/A N/A N/A self _locks N/A name N/A client_id request_id N/A N/A time time N/A N/A self GO N/A _unlock N/A N/A self name client_id request_id N/A N/A N/A Handles unlocking N/A N/A name N/A self _locks N/A N/A N/A other_client_id other_request_id lock_time N/A N/A self _locks N/A name N/A N/A other_client_id client_id N/A N/A response N/A N/A N/A self RELEASE_ERROR N/A self DELIMITER N/A Lock `%s` was acquired by `%s` (old request id `%s`) and not by `%s` (request id `%s`) N/A name other_client_id other_request_id client_id request_id N/A N/A N/A N/A self _logger error response N/A response N/A N/A N/A N/A self _locks N/A name N/A N/A self RELEASED N/A N/A N/A N/A name client_id N/A self _timeout_locks N/A N/A N/A other_request_id lock_time N/A N/A self _timeout_locks N/A N/A name client_id N/A timeout N/A N/A N/A N/A time time lock_time N/A self _timeout N/A response N/A N/A N/A self RELEASE_ERROR N/A self DELIMITER N/A Lock `%s` timed out %f seconds ago (client id `%s`, old request id `%s`) N/A name timeout client_id other_request_id N/A response N/A N/A response N/A N/A N/A self RELEASE_ERROR N/A self DELIMITER N/A Lock `%s` cannot be found in database (client id `%s`, request id `%s`) N/A name client_id request_id N/A N/A N/A N/A self _logger warning response N/A response N/A N/A ReliableClient N/A HasLogger N/A N/A Implements a reliable client that reconnects on server failure N/A SLEEP 0.01 N/A RETRIES 9 N/A TIMEOUT 2222 __init__ N/A N/A self url N/A N/A N/A N/A self url url N/A N/A self _context None N/A N/A self _socket None N/A N/A self _poll None N/A N/A N/A self _set_logger N/A __getstate__ N/A N/A self N/A N/A N/A result_dict N/A N/A N/A super ReliableClient self __getstate__ N/A N/A result_dict N/A _context None N/A N/A result_dict N/A _socket None N/A N/A result_dict N/A _poll None N/A result_dict N/A send_done N/A N/A self N/A N/A N/A Notifies the Server to shutdown N/A N/A N/A self start test_connection False N/A N/A N/A N/A self _logger debug Sending shutdown signal N/A N/A N/A self _req_rep N/A ZMQServer DONE N/A test_ping N/A N/A self N/A N/A N/A Connection test N/A N/A N/A self start test_connection False N/A response N/A N/A self _req_rep N/A ZMQServer PING N/A N/A response N/A ZMQServer PONG N/A N/A N/A RuntimeError Connection Error to LockServer N/A finalize N/A N/A self N/A N/A N/A Closes socket and terminates context

        NO-OP if already closed.

         N/A N/A N/A self _context None N/A N/A N/A N/A self _socket None N/A N/A N/A N/A self _close_socket confused False N/A N/A N/A N/A self _context term N/A N/A self _context None N/A N/A self _poll None N/A start N/A N/A self test_connection N/A True N/A N/A Starts connection to server if not existent.

        NO-OP if connection is already established.
        Makes ping-pong test as well if desired.

         N/A N/A N/A self _context None N/A N/A N/A N/A N/A self _logger debug Starting Client N/A N/A self _context N/A N/A zmq Context N/A N/A self _poll N/A N/A zmq Poller N/A N/A N/A self _start_socket N/A test_connection N/A N/A N/A N/A self test_ping N/A _start_socket N/A N/A self N/A N/A N/A N/A self _socket N/A N/A N/A self _context socket N/A zmq REQ N/A N/A N/A N/A self _socket connect N/A self url N/A N/A N/A N/A self _poll register N/A self _socket N/A zmq POLLIN N/A _close_socket N/A N/A self confused N/A False N/A N/A confused N/A N/A N/A N/A N/A self _socket setsockopt N/A zmq LINGER 0 N/A N/A N/A N/A self _socket close N/A N/A N/A N/A self _poll unregister N/A self _socket N/A N/A self _socket None N/A __del__ N/A N/A self N/A N/A N/A N/A N/A self finalize N/A _req_rep N/A N/A self request N/A N/A N/A Returns server response on `request_sketch` N/A N/A N/A N/A self _req_rep_retry request N/A 0 N/A _req_rep_retry N/A N/A self request N/A N/A N/A Returns response and number of retries N/A retries_left N/A self RETRIES N/A retries_left N/A N/A N/A N/A N/A self _logger log 1 Sending REQ `%s` request N/A N/A N/A self _send_request request N/A socks N/A dict N/A N/A N/A self _poll poll N/A self TIMEOUT N/A N/A N/A N/A socks get N/A self _socket N/A zmq POLLIN N/A N/A response N/A N/A self _receive_response N/A N/A N/A N/A self _logger log 1 Received REP `%s` response N/A N/A response N/A N/A self RETRIES retries_left N/A N/A N/A N/A N/A self _logger debug N/A No response from server (%d retries left) retries_left N/A N/A N/A self _close_socket confused True N/A retries_left 1 N/A N/A retries_left 0 N/A N/A N/A RuntimeError Server seems to be offline! N/A N/A N/A time sleep N/A self SLEEP N/A N/A N/A self _start_socket N/A _send_request N/A N/A self request N/A N/A N/A Actual sending of the request over network N/A N/A N/A N/A self _socket send_string request N/A _receive_response N/A N/A self N/A N/A N/A Actual receiving of response N/A N/A N/A N/A self _socket recv_string N/A N/A LockerClient N/A ReliableClient N/A N/A  Implements a Lock by requesting lock information from LockServer __init__ N/A N/A self url lock_name N/A tcp://127.0.0.1:7777 N/A LockerServer DEFAULT_LOCK N/A N/A N/A N/A N/A super LockerClient self __init__ url N/A N/A self lock_name lock_name N/A N/A self id None N/A __getstate__ N/A N/A self N/A N/A N/A result_dict N/A N/A N/A super LockerClient self __getstate__ N/A N/A result_dict N/A id None N/A result_dict N/A start N/A N/A self test_connection N/A True N/A N/A N/A N/A self _context None N/A N/A N/A self id N/A N/A self _get_id N/A cls N/A self __class__ N/A N/A N/A self _set_logger N/A %s.%s_%s N/A N/A cls __module__ N/A cls __name__ N/A self id N/A N/A N/A N/A super LockerClient self start test_connection N/A _get_id N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A socket getfqdn replace N/A LockerServer DELIMITER - __ N/A str N/A N/A os getpid N/A staticmethod _get_request_id N/A N/A N/A N/A N/A N/A N/A N/A str N/A N/A time time replace N/A LockerServer DELIMITER - N/A staticmethod _compose_request N/A N/A self request_sketch N/A N/A N/A request N/A N/A N/A N/A N/A N/A request_sketch N/A LockerServer DELIMITER N/A self lock_name N/A LockerServer DELIMITER N/A self id N/A LockerServer DELIMITER N/A N/A self _get_request_id N/A request N/A acquire N/A N/A self N/A N/A N/A Acquires lock and returns `True`

        Blocks until lock is available.

         N/A N/A N/A self start test_connection False N/A True N/A N/A N/A str_response retries N/A N/A self _req_rep_retry N/A LockerServer LOCK N/A response N/A N/A str_response split N/A LockerServer DELIMITER N/A N/A N/A response N/A 0 N/A LockerServer GO N/A N/A True N/A N/A N/A N/A N/A response N/A 0 N/A LockerServer LOCK_ERROR N/A retries 0 N/A N/A N/A N/A N/A self _logger error N/A str_response ; Probably due to retry N/A True N/A N/A N/A N/A response N/A 0 N/A LockerServer WAIT N/A N/A N/A N/A time sleep N/A self SLEEP N/A N/A N/A RuntimeError N/A Response `%s` not understood response N/A release N/A N/A self N/A N/A N/A Releases lock N/A N/A str_response retries N/A N/A self _req_rep_retry N/A LockerServer UNLOCK N/A response N/A N/A str_response split N/A LockerServer DELIMITER N/A N/A N/A response N/A 0 N/A LockerServer RELEASED N/A N/A N/A N/A N/A N/A N/A response N/A 0 N/A LockerServer RELEASE_ERROR N/A retries 0 N/A N/A N/A N/A N/A self _logger error N/A str_response ; Probably due to retry N/A N/A N/A RuntimeError N/A Response `%s` not understood response N/A _req_rep_retry N/A N/A self request N/A N/A N/A request N/A N/A self _compose_request request N/A N/A N/A N/A super LockerClient self _req_rep_retry request N/A N/A QueuingServerMessageListener N/A ZMQServer N/A N/A  Manages the listening requests N/A SPACE SPACE N/A DATA DATA N/A SPACE_AVAILABLE SPACE_AVAILABLE N/A SPACE_NOT_AVAILABLE SPACE_NOT_AVAILABLE N/A STORING STORING __init__ N/A N/A self url queue queue_maxsize N/A N/A N/A N/A N/A N/A super QueuingServerMessageListener self __init__ url N/A N/A self queue queue N/A N/A queue_maxsize 0 N/A N/A queue_maxsize N/A float inf N/A N/A self queue_maxsize queue_maxsize N/A listen N/A N/A self N/A N/A N/A  Handles listening requests from the client.

        There are 4 types of requests:

        1- Check space in the queue
        2- Tests the socket
        3- If there is a space, it sends data
        4- after data is sent, puts it to queue for storing

         N/A count 0 N/A N/A N/A self _start N/A True N/A N/A result N/A N/A N/A self _socket recv_pyobj N/A N/A isinstance result tuple N/A N/A N/A request data result N/A N/A request result N/A data None N/A N/A request N/A self SPACE N/A N/A N/A N/A N/A N/A N/A self queue qsize count N/A self queue_maxsize N/A N/A N/A N/A N/A self _socket send_string N/A self SPACE_AVAILABLE N/A count 1 N/A N/A N/A N/A N/A self _socket send_string N/A self SPACE_NOT_AVAILABLE N/A N/A N/A request N/A self PING N/A N/A N/A N/A N/A self _socket send_string N/A self PONG N/A N/A N/A request N/A self DATA N/A N/A N/A N/A N/A self _socket send_string N/A self STORING N/A N/A N/A N/A self queue put data N/A count 1 N/A N/A N/A request N/A self DONE N/A N/A N/A N/A N/A self _socket send_string N/A ZMQServer CLOSED N/A N/A N/A N/A self queue put N/A DONE N/A N/A N/A N/A N/A self _close N/A N/A N/A N/A RuntimeError N/A I did not understand your request %s request N/A N/A QueuingServer N/A HasLogger N/A N/A  Implements server architecture for Queueing __init__ N/A N/A self url storage_service queue_maxsize gc_interval N/A N/A N/A N/A self _url url N/A N/A self _storage_service storage_service N/A N/A self _queue_maxsize queue_maxsize N/A N/A self _gc_interval gc_interval N/A run N/A N/A self N/A N/A N/A main_queue N/A N/A queue Queue maxsize N/A self _queue_maxsize N/A server_message_listener N/A QueuingServerMessageListener N/A self _url main_queue N/A self _queue_maxsize N/A storage_writer N/A QueueStorageServiceWriter N/A self _storage_service main_queue N/A self _gc_interval N/A server_queue N/A Thread target N/A server_message_listener listen args N/A N/A N/A N/A server_queue start N/A N/A N/A storage_writer run N/A N/A N/A server_queue join N/A N/A QueuingClient N/A ReliableClient N/A N/A  Manages the returning requests put N/A N/A self data block N/A True N/A N/A  If there is space it sends data to server

        If no space in the queue

        It returns the request in every 10 millisecond

        until there will be space in the queue.

         N/A N/A N/A self start test_connection False N/A True N/A N/A response N/A N/A self _req_rep N/A QueuingServerMessageListener SPACE N/A N/A response N/A QueuingServerMessageListener SPACE_AVAILABLE N/A N/A N/A N/A self _req_rep N/A N/A QueuingServerMessageListener DATA data N/A N/A N/A N/A N/A time sleep 0.01 N/A _send_request N/A N/A self request N/A N/A N/A N/A N/A N/A self _socket send_pyobj request N/A N/A ForkDetector N/A HasLogger N/A _detect_fork N/A N/A self N/A N/A N/A Detects if lock client was forked.

        Forking is detected by comparing the PID of the current
        process with the stored PID.

         N/A N/A N/A self _pid None N/A N/A N/A self _pid N/A N/A os getpid N/A N/A N/A self _context None N/A N/A current_pid N/A N/A os getpid N/A N/A current_pid N/A self _pid N/A N/A N/A N/A N/A self _logger debug N/A Fork detected: My pid `%s` != os pid `%s`. Restarting connection. N/A N/A str N/A self _pid N/A str current_pid N/A N/A self _context None N/A N/A self _pid current_pid N/A N/A ForkAwareQueuingClient N/A QueuingClient ForkDetector N/A N/A  Queuing Client can detect forking of process.

    In this case the context and socket are restarted.

     __init__ N/A N/A self url N/A tcp://127.0.0.1:22334 N/A N/A N/A N/A N/A super ForkAwareQueuingClient self __init__ url N/A N/A self _pid None N/A __getstate__ N/A N/A self N/A N/A N/A result_dict N/A N/A N/A super ForkAwareQueuingClient self __getstate__ N/A N/A result_dict N/A _pid None N/A result_dict N/A start N/A N/A self test_connection N/A True N/A N/A N/A N/A self _detect_fork N/A N/A N/A N/A super ForkAwareQueuingClient self start test_connection N/A N/A ForkAwareLockerClient N/A LockerClient ForkDetector N/A N/A Locker Client that can detect forking of processes.

    In this case the context and socket are restarted.

     __init__ N/A N/A self url lock_name N/A tcp://127.0.0.1:7777 N/A LockerServer DEFAULT_LOCK N/A N/A N/A N/A N/A super ForkAwareLockerClient self __init__ url lock_name N/A N/A self _pid None N/A __getstate__ N/A N/A self N/A N/A N/A result_dict N/A N/A N/A super ForkAwareLockerClient self __getstate__ N/A N/A result_dict N/A _pid None N/A result_dict N/A start N/A N/A self test_connection N/A True N/A N/A Checks for forking and starts/restarts if desired N/A N/A N/A self _detect_fork N/A N/A N/A N/A super ForkAwareLockerClient self start test_connection N/A N/A QueueStorageServiceSender N/A MultiprocWrapper HasLogger N/A N/A  For multiprocessing with :const:`~pypet.pypetconstants.WRAP_MODE_QUEUE`, replaces the
        original storage service.

        All storage requests are send over a queue to the process running the
        :class:`~pypet.storageservice.QdebugueueStorageServiceWriter`.

        Does not support loading of data!

     __init__ N/A N/A self storage_queue N/A None N/A N/A N/A self queue storage_queue N/A N/A self pickle_queue True N/A N/A N/A self _set_logger N/A __getstate__ N/A N/A self N/A N/A N/A result N/A N/A N/A super QueueStorageServiceSender self __getstate__ N/A N/A N/A self pickle_queue N/A N/A N/A result N/A queue None N/A result N/A load N/A N/A self N/A args kwargs N/A N/A N/A NotImplementedError Queue wrapping does not support loading. If you want to load data in a multiprocessing environment, use a Lock wrapping. N/A _put_on_queue N/A N/A self to_put N/A N/A N/A Puts data on queue N/A old N/A self pickle_queue N/A N/A self pickle_queue False N/A N/A N/A N/A N/A N/A self queue put to_put block True N/A N/A N/A self pickle_queue old N/A N/A retry 9 Exception 0.01 pypet.retry store N/A N/A self N/A args kwargs N/A N/A Puts data to store on queue.

        Note that the queue will no longer be pickled if the Sender is pickled.

         N/A N/A N/A self _put_on_queue N/A STORE args kwargs N/A send_done N/A N/A self N/A N/A N/A Signals the writer that it can stop listening to the queue N/A N/A N/A self _put_on_queue N/A DONE N/A N/A N/A N/A LockAcquisition N/A HasLogger N/A N/A Abstract class to allow lock acquisition and release.

    Assumes that implementing classes have a ``lock``, ``is_locked`` and
    ``is_open`` attribute.

    Requires a ``_logger`` for error messaging.

     acquire_lock N/A N/A self N/A N/A N/A N/A N/A self is_locked N/A N/A N/A self is_locked N/A N/A N/A self lock acquire N/A N/A retry 9 TypeError 0.01 pypet.retry release_lock N/A N/A self N/A N/A N/A N/A N/A self is_locked N/A N/A self is_open N/A N/A N/A N/A N/A N/A N/A self lock release N/A N/A N/A N/A ValueError ThreadError N/A N/A N/A N/A N/A self _logger exception Could not release lock, probably has been released already! N/A N/A self is_locked False N/A N/A retry 9 TypeError 0.01 pypet.retry N/A PipeStorageServiceSender N/A MultiprocWrapper LockAcquisition N/A __init__ N/A N/A self storage_connection lock N/A None None N/A N/A N/A self conn storage_connection N/A N/A self lock lock N/A N/A self is_locked False N/A N/A N/A self _set_logger N/A __getstate__ N/A N/A self N/A N/A N/A result N/A N/A N/A self __dict__ copy N/A N/A result N/A conn None N/A N/A result N/A lock None N/A result N/A load N/A N/A self N/A args kwargs N/A N/A N/A NotImplementedError Pipe wrapping does not support loading. If you want to load data in a multiprocessing environment, use the Lock wrapping. N/A _put_on_pipe N/A N/A self to_put N/A N/A N/A Puts data on queue N/A N/A N/A self acquire_lock N/A N/A N/A self _send_chunks to_put N/A N/A N/A self release_lock N/A N/A retry 9 Exception 0.01 pypet.retry _make_chunk_iterator N/A N/A self to_chunk chunksize N/A N/A N/A N/A N/A to_chunk N/A i N/A i chunksize N/A i N/A range 0 N/A len to_chunk chunksize N/A _send_chunks N/A N/A self to_put N/A N/A N/A put_dump N/A N/A pickle dumps to_put N/A data_size N/A N/A sys getsizeof put_dump N/A nchunks N/A data_size 20000000.0 N/A chunksize N/A int N/A N/A len put_dump nchunks N/A chunk_iterator N/A N/A self _make_chunk_iterator put_dump chunksize N/A chunk chunk_iterator N/A N/A N/A N/A N/A self conn send False N/A N/A N/A N/A self conn send_bytes chunk N/A N/A N/A N/A self conn recv N/A N/A N/A N/A self conn send True N/A N/A N/A N/A self conn recv N/A store N/A N/A self N/A args kwargs N/A N/A Puts data to store on queue.

        Note that the queue will no longer be pickled if the Sender is pickled.

         N/A N/A N/A self _put_on_pipe N/A STORE args kwargs N/A send_done N/A N/A self N/A N/A N/A Signals the writer that it can stop listening to the queue N/A N/A N/A self _put_on_pipe N/A DONE N/A N/A N/A N/A StorageServiceDataHandler N/A HasLogger N/A N/A Class that can store data via a storage service, needs to be sub-classed to receive data __init__ N/A N/A self storage_service gc_interval N/A None N/A N/A N/A self _storage_service storage_service N/A N/A self _trajectory_name N/A N/A self gc_interval gc_interval N/A N/A self operation_counter 0 N/A N/A N/A self _set_logger N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s wrapping Storage Service %s> N/A N/A N/A self __class__ __name__ N/A repr N/A self _storage_service N/A _open_file N/A N/A self N/A N/A N/A N/A N/A N/A self _storage_service store N/A pypetconstants OPEN_FILE None trajectory_name N/A self _trajectory_name N/A N/A N/A N/A self _logger info Opened the hdf5 file. N/A _close_file N/A N/A self N/A N/A N/A N/A N/A N/A self _storage_service store N/A pypetconstants CLOSE_FILE None N/A N/A N/A N/A self _logger info Closed the hdf5 file. N/A _check_and_collect_garbage N/A N/A self N/A N/A N/A N/A N/A self gc_interval N/A N/A N/A self operation_counter N/A self gc_interval 0 N/A N/A collected N/A N/A gc collect N/A N/A N/A N/A self _logger debug N/A Garbage Collection: Found %d unreachable items. collected N/A N/A self operation_counter 1 N/A _handle_data N/A N/A self msg args kwargs N/A N/A N/A Handles data and returns `True` or `False` if everything is done. N/A stop False N/A N/A N/A N/A msg DONE N/A N/A stop True N/A N/A N/A msg STORE N/A N/A N/A msg kwargs N/A N/A store_msg N/A N/A kwargs pop msg N/A N/A store_msg N/A args N/A 0 N/A args N/A args N/A 1 N/A N/A stuff_to_store kwargs N/A N/A stuff_to_store N/A N/A kwargs pop stuff_to_store N/A N/A stuff_to_store N/A args N/A 0 N/A args N/A args N/A 1 N/A trajectory_name N/A kwargs N/A trajectory_name N/A N/A N/A self _trajectory_name trajectory_name N/A N/A N/A N/A self _storage_service is_open N/A N/A N/A N/A self _close_file N/A N/A self _trajectory_name trajectory_name N/A N/A N/A self _open_file N/A N/A N/A N/A self _storage_service store store_msg stuff_to_store args kwargs N/A N/A N/A N/A self _storage_service store N/A pypetconstants FLUSH None N/A N/A N/A self _check_and_collect_garbage N/A N/A N/A RuntimeError N/A You queued something that was not intended to be queued. I did not understand message `%s`. msg N/A N/A N/A Exception N/A N/A N/A N/A N/A self _logger exception ERROR occurred during storing! N/A N/A N/A time sleep 0.01 N/A N/A stop N/A run N/A N/A self N/A N/A N/A Starts listening to the queue. N/A N/A N/A True N/A N/A N/A msg args kwargs N/A N/A self _receive_data N/A stop N/A N/A self _handle_data msg args kwargs N/A stop N/A N/A N/A N/A N/A N/A self _storage_service is_open N/A N/A N/A N/A self _close_file N/A N/A self _trajectory_name N/A _receive_data N/A N/A self N/A N/A N/A N/A NotImplementedError Implement this! N/A N/A QueueStorageServiceWriter N/A StorageServiceDataHandler N/A N/A Wrapper class that listens to the queue and stores queue items via the storage service. __init__ N/A N/A self storage_service storage_queue gc_interval N/A None N/A N/A N/A N/A N/A super QueueStorageServiceWriter self __init__ storage_service gc_interval gc_interval N/A N/A self queue storage_queue N/A _receive_data N/A N/A self N/A N/A N/A Gets data from queue N/A result N/A N/A N/A self queue get block True N/A N/A hasattr N/A self queue task_done N/A N/A N/A N/A N/A self queue task_done N/A result N/A N/A retry 9 Exception 0.01 pypet.retry N/A PipeStorageServiceWriter N/A StorageServiceDataHandler N/A N/A Wrapper class that listens to the queue and stores queue items via the storage service. __init__ N/A N/A self storage_service storage_connection max_buffer_size gc_interval N/A 10 None N/A N/A N/A N/A N/A super PipeStorageServiceWriter self __init__ storage_service gc_interval gc_interval N/A N/A self conn storage_connection N/A N/A max_buffer_size 0 N/A N/A max_buffer_size N/A float inf N/A N/A self max_size max_buffer_size N/A N/A self _buffer N/A deque N/A N/A N/A self _set_logger N/A _read_chunks N/A N/A self N/A N/A N/A chunks N/A N/A stop False N/A N/A stop N/A N/A stop N/A N/A N/A self conn recv N/A N/A stop N/A N/A chunk N/A N/A N/A self conn recv_bytes N/A N/A N/A chunks append chunk N/A N/A N/A N/A self conn send True N/A to_load N/A N/A join chunks N/A chunks N/A N/A N/A data N/A N/A pickle loads to_load N/A N/A N/A Exception N/A N/A N/A N/A N/A self _logger exception Could not reconstruct pickled data. N/A data None N/A data N/A _receive_data N/A N/A self N/A N/A N/A Gets data from pipe N/A True N/A N/A N/A N/A N/A len N/A self _buffer N/A self max_size N/A N/A N/A self conn poll N/A N/A data N/A N/A self _read_chunks N/A N/A data None N/A N/A N/A N/A N/A self _buffer append data N/A N/A N/A len N/A self _buffer 0 N/A N/A N/A N/A N/A self _buffer popleft N/A N/A retry 9 Exception 0.01 pypet.retry N/A LockWrapper N/A MultiprocWrapper LockAcquisition N/A N/A For multiprocessing in :const:`~pypet.pypetconstants.WRAP_MODE_LOCK` mode,
    augments a storage service with a lock.

    The lock is acquired before storage or loading and released afterwards.

     __init__ N/A N/A self storage_service lock N/A None N/A N/A N/A self _storage_service storage_service N/A N/A self lock lock N/A N/A self is_locked False N/A N/A self pickle_lock True N/A N/A N/A self _set_logger N/A __getstate__ N/A N/A self N/A N/A N/A result N/A N/A N/A super LockWrapper self __getstate__ N/A N/A N/A self pickle_lock N/A N/A N/A result N/A lock None N/A result N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s wrapping Storage Service %s> N/A N/A N/A self __class__ __name__ N/A repr N/A self _storage_service N/A is_open N/A N/A self N/A N/A N/A  Normally the file is opened and closed after each insertion.

        However, the storage service may provide the option to keep the store open and signals
        this via this property.

         N/A N/A N/A self _storage_service is_open N/A property multiproc_safe N/A N/A self N/A N/A N/A Usually storage services are not supposed to be multiprocessing safe N/A True N/A property store N/A N/A self N/A args kwargs N/A N/A Acquires a lock before storage and releases it afterwards. N/A N/A N/A N/A N/A self acquire_lock N/A N/A N/A N/A self _storage_service store args kwargs N/A N/A N/A N/A self lock None N/A N/A N/A N/A N/A N/A self release_lock N/A N/A N/A RuntimeError N/A N/A N/A N/A N/A self _logger error N/A Could not release lock `%s`! N/A str N/A self lock N/A __del__ N/A N/A self N/A N/A N/A N/A N/A self release_lock N/A load N/A N/A self N/A args kwargs N/A N/A Acquires a lock before loading and releases it afterwards. N/A N/A N/A N/A N/A self acquire_lock N/A N/A N/A N/A self _storage_service load args kwargs N/A N/A N/A N/A self lock None N/A N/A N/A N/A N/A N/A self release_lock N/A N/A N/A RuntimeError N/A N/A N/A N/A N/A self _logger error N/A Could not release lock `%s`! N/A str N/A self lock N/A N/A ReferenceWrapper N/A MultiprocWrapper N/A N/A Wrapper that just keeps references to data to be stored. __init__ N/A N/A self N/A N/A N/A N/A self references N/A N/A store N/A N/A self msg stuff_to_store N/A args kwargs N/A N/A Simply keeps a reference to the stored data  N/A trajectory_name N/A kwargs N/A trajectory_name N/A N/A trajectory_name N/A self references N/A N/A N/A N/A self references N/A trajectory_name N/A N/A N/A N/A N/A N/A self references N/A trajectory_name append N/A msg N/A N/A cp copy stuff_to_store args kwargs N/A load N/A N/A self N/A args kwargs N/A N/A Not implemented N/A N/A NotImplementedError Reference wrapping does not support loading. If you want to load data in a multiprocessing environment, use a Lock wrapping. N/A free_references N/A N/A self N/A N/A N/A N/A self references N/A N/A N/A ReferenceStore N/A HasLogger N/A N/A Class that can store references __init__ N/A N/A self storage_service gc_interval N/A None N/A N/A N/A self _storage_service storage_service N/A N/A self gc_interval gc_interval N/A N/A self operation_counter 0 N/A N/A N/A self _set_logger N/A _check_and_collect_garbage N/A N/A self N/A N/A N/A N/A N/A self gc_interval N/A N/A N/A self operation_counter N/A self gc_interval 0 N/A N/A collected N/A N/A gc collect N/A N/A N/A N/A self _logger debug N/A Garbage Collection: Found %d unreachable items. collected N/A N/A self operation_counter 1 N/A store_references N/A N/A self references N/A N/A N/A Stores references to disk and may collect garbage. N/A trajectory_name references N/A N/A N/A N/A N/A self _storage_service store N/A pypetconstants LIST N/A references N/A trajectory_name trajectory_name trajectory_name N/A N/A N/A self _check_and_collect_garbage N/A N/A