Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str If BoolOpOr BoolOpAnd NameLoad CompareIsNot Call NameLoad NameLoad NameLoad BoolOpAnd NameLoad CompareIsNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore IfExp NameLoad Call NameLoad NameLoad Call NameLoad Assign NameStore IfExp NameLoad Call NameLoad NameLoad Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults ListLoad ListLoad body Expr Str Assign NameStore ListComp IfExp Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad Num comprehension NameStore NameLoad Assign NameStore ListComp IfExp Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad Num comprehension NameStore NameLoad Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension TupleStore NameStore NameStore NameLoad FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListComp CompareGtE Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign NameStore Call NameLoad ListComp CompareGtE Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad comprehension TupleStore NameStore NameStore NameLoad If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Return Call NameLoad keyword NameLoad Assign NameStore ListLoad Assign NameStore Dict For TupleStore NameStore NameStore NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad ListLoad attr NameLoad Expr Call AttributeLoad NameLoad attr IfExp NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr IfExp CompareGt Call NameLoad NameLoad Num NameLoad SubscriptLoad NameLoad Index Num If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Dict Str NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr body If BoolOpAnd CompareGt NameLoad Num CompareNotEq Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Break If BoolOpAnd AttributeLoad NameLoad attr NameLoad body For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr For TupleStore TupleStore NameStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore IfExp CompareGt NameLoad Num NameLoad ListLoad NameLoad body Expr Call AttributeLoad NameLoad attr IfExp Call NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults vararg body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If BoolOpAnd UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr CompareNotIn Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Raise Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad TupleLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Return BinOpMod NameLoad TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str AugAssignBitOr AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd Call NameLoad NameLoad Str Call NameLoad Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad Call NameLoad NameLoad Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad Str Str Str Str Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore TupleLoad Assign NameStore Dict FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad NameLoad body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad TupleLoad Str Str Str Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr DictComp NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr DictComp NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Dict TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareIs NameLoad NameLoad body Return Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad Str UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd ListLoad Str IfExp Call NameLoad NameLoad Str AttributeLoad NameLoad attr ListLoad body Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Str If Call NameLoad NameLoad Str body For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore BinOpAdd NameLoad Call NameLoad NameLoad Assign NameStore Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore BinOpAdd NameLoad Call NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad Assign NameStore IfExp CompareEq NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot Call AttributeLoad NameLoad attr body Return If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot Call AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr body Return If AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad NameLoad attr body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad While NameLoad body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad Break If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareGt NameLoad Num CompareGt BinOpSub NameLoad AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad Raise Call NameLoad Str decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str DictComp NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str DictComp NameLoad Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Str For NameStore SubscriptLoad NameLoad Index Str body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad For NameStore SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore TupleLoad NameLoad SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore ListComp IfExp CompareEq SubscriptLoad NameLoad Index Num Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad AugAssignSub AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareGt Call NameLoad BinOpSub AttributeLoad NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd AttributeLoad NameLoad attr IfExp Call NameLoad NameLoad Str ListLoad Dict Str Str Str Str Dict Str AttributeLoad NameLoad attr Str ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad ListLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return BinOpAdd AttributeLoad NameLoad attr ListLoad Dict Str Str Str Str Dict Str Str AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A wrapt N/A functools N/A time calvin.utilities calvinuuid calvin.utilities.security Security calvin.actor actorport calvin.utilities.calvinlogger get_logger calvin.utilities.utils enum calvin.runtime.north.calvin_token Token ExceptionToken calvin.runtime.north calvincontrol calvin.runtime.north metering N/A _log N/A get_logger __name__ manage N/A N/A include exclude N/A None None N/A N/A 
    Decorator for Actor::init() providing automatic management of state variables.
    Usage:
        @manage()                     # Manage every instance variable known upon completion of __init__
        @manage(include = [])         # Manage nothing
        @manage(include = [foo, bar]) # Manage self.foo and self.bar only. Equivalent to @manage([foo, bar])
        @manage(exclude = [foo, bar]) # Manage everything except self.foo and self.bar
        @manage(exclude = [])         # Same as @manage()
        @manage(<list>)               # Same as @manage(include = <list>)

    N.B. If include and exclude are both present, exclude will be disregarded.

     N/A N/A N/A include N/A N/A type include list N/A exclude N/A N/A type exclude list N/A N/A N/A Exception @manage decorator: Must use list as argument N/A include N/A include N/A set include N/A set N/A exclude N/A exclude N/A set exclude N/A set wrapper N/A N/A wrapped instance args kwargs N/A N/A N/A N/A N/A exclude update N/A instance __dict__ N/A x N/A wrapped args kwargs N/A N/A include N/A N/A N/A N/A include update N/A instance __dict__ N/A N/A N/A include remove _managed N/A N/A N/A include difference_update exclude N/A N/A N/A N/A instance _managed update include N/A x N/A N/A wrapt decorator N/A wrapper N/A condition N/A N/A action_input action_output N/A N/A N/A N/A N/A 
    Decorator condition specifies the required input data and output space.
    Both parameters are lists of tuples: (port, #tokens consumed/produced)
    Optionally, the port spec can be a port only, meaning #tokens is 1.
    Return value is an ActionResult object

    FIXME:
    - Modify ActionResult to specify how many tokens were read/written from/to each port
      E.g. ActionResult.tokens_consumed/produced are dicts: {'port1':4, 'port2':1, ...}
      Since reading is done in the wrapper, tokens_consumed is fixed and given by action_input.
      The action fills in tokens_produced and the wrapper uses that info when writing to ports.
    - We can keep the @condition syntax by making the change in the normalize step below.
     N/A action_input N/A N/A N/A isinstance p N/A list tuple p N/A p 1 N/A p action_input N/A action_output N/A N/A N/A isinstance p N/A list tuple p N/A p 1 N/A p action_output N/A contract_output N/A tuple N/A n N/A N/A _ n action_output N/A tokens_produced N/A sum contract_output N/A tokens_consumed N/A sum N/A n N/A N/A _ n action_input wrap N/A N/A action_method N/A N/A condition_wrapper N/A N/A self N/A N/A N/A input_ok N/A all N/A N/A N/A N/A N/A N/A self inports N/A portname available_tokens repeat N/A N/A portname repeat action_input N/A output_ok N/A all N/A N/A N/A N/A N/A N/A self outports N/A portname available_tokens repeat N/A N/A portname repeat action_output N/A N/A N/A input_ok N/A output_ok N/A N/A N/A N/A _log debug N/A %s.%s not runnable (%s, %s) N/A N/A self name N/A action_method __name__ input_ok output_ok N/A N/A ActionResult did_fire False N/A args N/A N/A ex N/A N/A N/A portname repeat action_input N/A N/A port N/A N/A self inports N/A portname N/A tokenlist N/A N/A i N/A range repeat N/A N/A token N/A N/A port peek_token N/A is_exception N/A isinstance token ExceptionToken N/A is_exception N/A N/A N/A N/A N/A N/A ex setdefault portname N/A append i N/A N/A N/A tokenlist append N/A is_exception token N/A token value N/A N/A N/A args append N/A N/A N/A len tokenlist 1 tokenlist N/A tokenlist N/A 0 N/A ex N/A N/A action_result N/A N/A self exception_handler action_method args N/A exceptions ex N/A N/A action_result N/A action_method self args N/A valid_production False N/A N/A N/A action_result did_fire N/A N/A len contract_output N/A len N/A action_result production N/A N/A valid_production True N/A N/A repeat prod N/A zip contract_output N/A action_result production N/A N/A N/A N/A repeat 1 N/A N/A len prod repeat N/A N/A valid_production False N/A N/A N/A N/A action_result did_fire valid_production N/A N/A N/A portname _ action_input N/A N/A N/A N/A N/A N/A self inports N/A portname commit_peek_as_read N/A N/A N/A portname repeat retval N/A zip action_output N/A action_result production N/A N/A port N/A N/A self outports N/A portname N/A data N/A N/A repeat 1 retval N/A retval N/A N/A N/A N/A port write_token N/A N/A isinstance data Token data N/A Token data N/A N/A action_result tokens_consumed tokens_consumed N/A N/A action_result tokens_produced tokens_produced N/A N/A N/A portname _ action_input N/A N/A N/A N/A N/A N/A self inports N/A portname peek_rewind N/A N/A N/A action_result did_fire N/A valid_production N/A N/A action N/A %s.%s N/A N/A self _type N/A action_method __name__ N/A N/A Exception N/A %s invalid production %s, expected %s N/A action N/A str N/A action_result production N/A str N/A tuple action_output N/A action_result N/A N/A N/A functools wraps action_method N/A N/A condition_wrapper action_input action_input N/A N/A condition_wrapper action_output action_output N/A condition_wrapper N/A N/A wrap N/A guard N/A N/A action_guard N/A N/A N/A 
    Decorator guard refines the criteria for picking an action to run by stating a function
    with THE SAME signature as the guarded action returning a boolean (True if action allowed).
    If the speciified function is unbound or a lambda expression, you must account for 'self',
    e.g. 'lambda self, a, b: a>0'
     wrap N/A N/A action_method N/A N/A guard_wrapper N/A N/A self N/A args N/A N/A retval N/A ActionResult did_fire False N/A guard_ok N/A action_guard self args N/A N/A N/A _log debug N/A %s.%s guard returned %s N/A N/A self name N/A action_method __name__ guard_ok N/A guard_ok N/A N/A retval N/A action_method self args N/A retval N/A N/A N/A functools wraps action_method N/A guard_wrapper N/A N/A wrap N/A verify_status N/A N/A valid_status_list raise_ N/A False N/A N/A 
    Decorator to help with debugging of state transitions
    If a decorated is called when the actors status is not in valid_status_list
    it will log (or raise exception if raise_ is True) the attempt.
     wrapper N/A N/A wrapped instance args kwargs N/A N/A N/A N/A N/A N/A N/A instance fsm disable_state_checks N/A N/A N/A N/A instance fsm state valid_status_list N/A N/A msg N/A Invalid status %s for operation %s N/A N/A instance fsm N/A wrapped __name__ N/A raise_ N/A N/A N/A Exception msg N/A N/A N/A N/A _log info msg N/A x N/A wrapped args kwargs N/A x N/A N/A wrapt decorator N/A wrapper N/A ActionResult N/A object N/A N/A Return type from action and @guard __init__ N/A N/A self did_fire production N/A True N/A N/A N/A N/A N/A N/A super ActionResult self __init__ N/A N/A self did_fire did_fire N/A N/A self tokens_consumed 0 N/A N/A self tokens_produced 0 N/A N/A self production production N/A __str__ N/A N/A self N/A N/A N/A fmtstr %s - did_fire:%s, consumed:%d, produced:%d N/A N/A fmtstr N/A N/A N/A self __class__ __name__ N/A str N/A self did_fire N/A self tokens_consumed N/A self tokens_produced N/A merge N/A N/A self other_result N/A N/A N/A 
        Update this ActionResult by mergin data from other_result:
             did_fire will be OR:ed together
             any tokens_consumed will be ADDED
             any tokens_produced will be ADDED
             production will be DISCARDED
         N/A N/A self did_fire N/A other_result did_fire N/A N/A self tokens_consumed N/A other_result tokens_consumed N/A N/A self tokens_produced N/A other_result tokens_produced N/A N/A _implements_state N/A N/A obj N/A N/A N/A Helper method to check if foreign object supports setting/getting state. N/A N/A N/A hasattr obj state N/A callable N/A getattr obj state N/A hasattr obj set_state N/A callable N/A getattr obj set_state N/A Actor N/A object N/A N/A 
    Base class for all actors
    Need a name supplied.
    Subclasses need to declare the parameter
    calvinsys if they want access to system
    interface on the node, this parameter
    will be supplied by the node and not by user
     N/A action_priority N/A tuple FSM N/A object N/A __init__ N/A N/A self states initial transitions hooks allow_invalid_transitions disable_transition_checks disable_state_checks N/A None True False False N/A N/A N/A self states states N/A N/A self _state initial N/A N/A self transitions transitions N/A N/A self hooks N/A hooks N/A N/A N/A self allow_invalid_transitions allow_invalid_transitions N/A N/A self disable_transition_checks disable_transition_checks N/A N/A self disable_state_checks disable_state_checks N/A state N/A N/A self N/A N/A N/A N/A self _state N/A transition_to N/A N/A self new_state N/A N/A N/A N/A N/A new_state N/A N/A self transitions N/A N/A self _state N/A self disable_transition_checks N/A N/A hook N/A N/A N/A self hooks get N/A N/A self _state new_state None N/A hook N/A N/A N/A hook N/A N/A self _state new_state N/A N/A msg N/A Invalid transition %s -> %s N/A self N/A N/A self printable new_state N/A N/A self allow_invalid_transitions N/A N/A N/A N/A _log warning N/A ALLOWING  msg N/A N/A self _state new_state N/A N/A N/A Exception msg N/A printable N/A N/A self state N/A N/A N/A N/A N/A N/A self states reverse_mapping N/A state N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self printable N/A self _state N/A N/A N/A STATUS N/A enum LOADED READY PENDING ENABLED N/A VALID_TRANSITIONS N/A N/A STATUS LOADED N/A STATUS READY N/A STATUS PENDING N/A STATUS ENABLED N/A N/A STATUS READY N/A N/A STATUS PENDING N/A STATUS ENABLED N/A N/A STATUS READY N/A STATUS PENDING N/A STATUS ENABLED N/A N/A STATUS READY N/A STATUS PENDING N/A test_args N/A N/A test_kwargs N/A __init__ N/A N/A self actor_type name allow_invalid_transitions disable_transition_checks disable_state_checks actor_id N/A True False False None N/A N/A Should _not_ be overridden in subclasses. N/A N/A N/A N/A super Actor self __init__ N/A N/A self _type actor_type N/A N/A self name name N/A N/A self id N/A actor_id N/A N/A calvinuuid uuid ACTOR N/A N/A N/A _log debug N/A New actor id: %s, supplied actor id %s N/A N/A self id actor_id N/A N/A self _deployment_requirements N/A N/A N/A self _signature None N/A N/A self _component_members N/A set N/A N/A self id N/A N/A self _managed N/A set N/A id name _deployment_requirements _signature credentials N/A N/A self _calvinsys None N/A N/A self _using N/A N/A N/A self control N/A N/A calvincontrol get_calvincontrol N/A N/A self metering N/A N/A metering get_metering N/A N/A self _migrating_to None N/A N/A self _last_time_warning 0.0 N/A N/A self credentials None N/A N/A self inports N/A p N/A N/A actorport InPort p self N/A p N/A self inport_names N/A N/A self outports N/A p N/A N/A actorport OutPort p self N/A p N/A self outport_names N/A hooks N/A N/A N/A N/A Actor STATUS PENDING N/A N/A Actor STATUS ENABLED N/A N/A N/A Actor STATUS ENABLED N/A N/A Actor STATUS PENDING N/A self will_start N/A self will_stop N/A N/A self fsm N/A N/A Actor FSM N/A Actor STATUS N/A N/A Actor STATUS LOADED N/A Actor VALID_TRANSITIONS hooks allow_invalid_transitions allow_invalid_transitions disable_transition_checks disable_transition_checks disable_state_checks disable_state_checks N/A N/A N/A N/A self metering add_actor_info self N/A set_credentials N/A N/A self credentials security N/A None N/A N/A  Sets the credentials the actor operates under
            This will trigger an authentication of the credentials
            Optionally an authenticated Security instance can be supplied,
            to reduce the needed authentication processing.
         N/A N/A N/A _log debug N/A actor.py: set_credentials: %s credentials N/A N/A credentials None N/A N/A N/A N/A self credentials credentials N/A security N/A N/A N/A self sec security N/A N/A N/A self sec N/A Security N/A N/A N/A N/A self sec set_principal N/A self credentials N/A N/A N/A N/A self sec authenticate_principal N/A get_credentials N/A N/A self N/A N/A N/A N/A N/A _log debug N/A actor.py: get_credentials: %s N/A self credentials N/A N/A self credentials N/A setup_complete N/A N/A self N/A N/A N/A N/A N/A N/A self fsm transition_to N/A N/A Actor STATUS READY N/A N/A verify_status N/A N/A STATUS LOADED init N/A N/A self N/A N/A N/A N/A Exception Implementing 'init()' is mandatory. N/A will_start N/A N/A self N/A N/A N/A Override in actor subclass if actions need to be taken before starting. N/A N/A will_stop N/A N/A self N/A N/A N/A Override in actor subclass if actions need to be taken before stopping. N/A N/A will_migrate N/A N/A self N/A N/A N/A Override in actor subclass if actions need to be taken before migrating. N/A N/A did_migrate N/A N/A self N/A N/A N/A Override in actor subclass if actions need to be taken after migrating. N/A N/A will_end N/A N/A self N/A N/A N/A Override in actor subclass if actions need to be taken before destruction. N/A N/A check_requirements N/A N/A self N/A N/A N/A  Checks that all requirements are available and accessable in calvinsys  N/A N/A N/A hasattr self sec N/A N/A N/A N/A self sec check_security_actor_requirements N/A N/A runtime N/A N/A hasattr self requires N/A self requires N/A N/A N/A N/A N/A _log debug Security check on actor requirements failed N/A N/A Exception actor calvinsys security requirement not fullfilled N/A N/A hasattr self requires N/A N/A req N/A self requires N/A N/A N/A N/A N/A N/A self _calvinsys has_capability req N/A N/A N/A Exception N/A %s requires %s N/A N/A self id req N/A N/A verify_status N/A N/A STATUS LOADED __getitem__ N/A N/A self attr N/A N/A N/A N/A attr N/A self _using N/A N/A N/A N/A self _using N/A attr N/A N/A KeyError attr N/A use N/A N/A self requirement shorthand N/A N/A N/A N/A N/A self _using N/A shorthand N/A N/A N/A self _calvinsys use_requirement self requirement N/A __str__ N/A N/A self N/A N/A N/A ip N/A p N/A N/A N/A self inports values N/A N/A ip N/A ip N/A str p N/A op N/A p N/A N/A N/A self outports values N/A N/A op N/A op N/A str p N/A s N/A Actor: '%s' class '%s'
status: %s
inports: %s
outports:%s N/A N/A self name N/A self _type N/A self fsm ip op N/A s N/A set_port_property N/A N/A self port_type port_name port_property value N/A N/A N/A Change a port property. Currently, setting 'fanout' on output ports is only allowed operation. N/A N/A port_type N/A in out N/A N/A N/A N/A _log error N/A Illegal port type '%s' for actor '%s' of type '%s' N/A port_type N/A self name N/A self _type N/A False N/A ports N/A N/A port_type out N/A self outports N/A self inports N/A N/A port_name ports N/A N/A N/A N/A _log error N/A Illegal %sport name '%s' for actor '%s' of type '%s' N/A port_type port_name N/A self name N/A self _type N/A False N/A port N/A ports N/A port_name N/A N/A N/A hasattr port port_property N/A N/A N/A N/A _log error N/A Illegal property '%s' for %sport '%s' in actor '%s' of type '%s' N/A port_property port_type port_name N/A self name N/A self _type N/A False N/A N/A setattr port port_property value N/A True N/A N/A verify_status N/A N/A STATUS READY did_connect N/A N/A self port N/A N/A N/A Called when a port is connected, checks actor is fully connected. N/A N/A N/A N/A N/A self fsm state N/A N/A Actor STATUS READY N/A N/A N/A N/A N/A self fsm transition_to N/A N/A Actor STATUS PENDING N/A N/A self inports N/A N/A p N/A N/A N/A self inports values N/A N/A N/A N/A N/A p is_connected N/A N/A N/A N/A self outports N/A N/A p N/A N/A N/A self outports values N/A N/A N/A N/A N/A p is_connected N/A N/A N/A N/A N/A N/A self fsm transition_to N/A N/A Actor STATUS ENABLED N/A N/A N/A N/A self _calvinsys scheduler_wakeup N/A N/A verify_status N/A N/A STATUS READY N/A STATUS PENDING did_disconnect N/A N/A self port N/A N/A N/A Called when a port is disconnected, checks actor is fully disconnected. N/A N/A N/A N/A N/A self fsm state N/A N/A Actor STATUS ENABLED N/A N/A N/A N/A N/A self fsm transition_to N/A N/A Actor STATUS PENDING N/A N/A self inports N/A N/A p N/A N/A N/A self inports values N/A N/A N/A N/A p is_connected N/A N/A N/A N/A self outports N/A N/A p N/A N/A N/A self outports values N/A N/A N/A N/A p is_connected N/A N/A N/A N/A N/A N/A self fsm transition_to N/A N/A Actor STATUS READY N/A N/A verify_status N/A N/A STATUS ENABLED N/A STATUS PENDING fire N/A N/A self N/A N/A N/A start_time N/A N/A time time N/A total_result N/A ActionResult did_fire False N/A True N/A N/A action_method N/A N/A self __class__ action_priority N/A N/A action_result N/A action_method self N/A N/A N/A total_result merge action_result N/A N/A action_result did_fire N/A N/A N/A N/A N/A self metering fired N/A self id N/A action_method __name__ N/A N/A N/A N/A self control log_actor_firing N/A self id N/A action_method __name__ N/A action_result tokens_produced N/A action_result tokens_consumed N/A action_result production N/A N/A N/A _log debug N/A Actor %s(%s) did fire %s -> %s N/A N/A self _type N/A self id N/A action_method __name__ N/A str action_result N/A N/A N/A N/A action_result did_fire N/A N/A diff N/A N/A N/A time time start_time N/A N/A N/A diff 0.2 N/A N/A start_time N/A self _last_time_warning 120.0 N/A N/A N/A self _last_time_warning start_time N/A N/A N/A _log warning N/A %s (%s) actor blocked for %f sec N/A N/A self name N/A self _type diff N/A total_result N/A N/A Exception Exit from fire should ALWAYS be from previous line. N/A N/A verify_status N/A N/A STATUS ENABLED enabled N/A N/A self N/A N/A N/A N/A N/A N/A N/A self fsm state N/A N/A Actor STATUS ENABLED N/A enable N/A N/A self N/A N/A N/A N/A N/A N/A self fsm transition_to N/A N/A Actor STATUS ENABLED N/A N/A verify_status N/A N/A STATUS ENABLED disable N/A N/A self N/A N/A N/A N/A N/A N/A self fsm transition_to N/A N/A Actor STATUS PENDING N/A N/A verify_status N/A N/A STATUS READY N/A STATUS PENDING N/A STATUS LOADED state N/A N/A self N/A N/A N/A state N/A N/A N/A state N/A _managed N/A list N/A self _managed N/A N/A state N/A inports N/A port N/A N/A N/A N/A self inports N/A port _state N/A port N/A self inports N/A N/A state N/A outports N/A port N/A N/A N/A N/A self outports N/A port _state N/A port N/A self outports N/A N/A state N/A _component_members N/A list N/A self _component_members N/A key N/A self _managed N/A N/A obj N/A N/A self __dict__ N/A key N/A N/A _implements_state obj N/A N/A N/A state N/A key N/A N/A obj state N/A N/A N/A state N/A key obj N/A state N/A N/A verify_status N/A N/A STATUS LOADED N/A STATUS READY N/A STATUS PENDING _set_state N/A N/A self state N/A N/A N/A N/A N/A N/A self _managed update N/A set N/A state N/A _managed N/A key N/A state N/A _managed N/A N/A N/A key N/A self __dict__ N/A N/A N/A N/A self __dict__ N/A key N/A N/A state pop key N/A N/A obj N/A N/A self __dict__ N/A key N/A N/A _implements_state obj N/A N/A N/A N/A obj set_state N/A N/A state pop key N/A N/A N/A N/A self __dict__ N/A key N/A N/A state pop key N/A port N/A state N/A inports N/A N/A N/A N/A N/A N/A N/A self inports setdefault port N/A N/A actorport InPort port self _set_state N/A N/A state N/A inports N/A port N/A port N/A state N/A outports N/A N/A N/A N/A N/A N/A N/A self outports setdefault port N/A N/A actorport OutPort port self _set_state N/A N/A state N/A outports N/A port N/A N/A self _component_members N/A set N/A state N/A _component_members N/A N/A verify_status N/A N/A STATUS LOADED N/A STATUS READY N/A STATUS PENDING connections N/A N/A self node_id N/A N/A N/A c N/A actor_id actor_name N/A self id N/A self name N/A inports N/A N/A port N/A N/A N/A self inports values N/A N/A peer N/A N/A port get_peer N/A N/A N/A peer N/A 0 local N/A N/A peer N/A node_id N/A peer N/A 1 N/A N/A inports N/A N/A port id peer N/A N/A c N/A inports inports N/A outports N/A N/A port N/A N/A N/A self outports values N/A N/A peers N/A N/A N/A N/A p N/A 0 local N/A node_id N/A p N/A 1 p N/A p N/A N/A port get_peers N/A N/A outports N/A N/A port id peers N/A N/A c N/A outports outports N/A c N/A N/A verify_status N/A N/A STATUS ENABLED N/A STATUS READY N/A STATUS PENDING serialize N/A N/A self N/A N/A N/A N/A N/A self state N/A deserialize N/A N/A self data N/A N/A N/A N/A N/A self _set_state data N/A exception_handler N/A N/A self action args context N/A N/A N/A Defult handler when encountering ExceptionTokens N/A N/A N/A _log error N/A ExceptionToken encountered
  name: %s
  type: %s
  action: %s
  args: %s
  context: %s
 N/A N/A self name N/A self _type N/A action __name__ args context N/A N/A Exception ExceptionToken NOT HANDLED N/A events N/A N/A self N/A N/A N/A N/A N/A component_add N/A N/A self actor_ids N/A N/A N/A N/A N/A isinstance actor_ids N/A set list tuple N/A N/A actor_ids N/A actor_ids N/A N/A N/A N/A self _component_members update actor_ids N/A component_remove N/A N/A self actor_ids N/A N/A N/A N/A N/A isinstance actor_ids N/A set list tuple N/A N/A actor_ids N/A actor_ids N/A N/A self _component_members N/A set actor_ids N/A part_of_component N/A N/A self N/A N/A N/A N/A N/A len N/A N/A self _component_members N/A set N/A N/A self id 0 N/A component_members N/A N/A self N/A N/A N/A N/A self _component_members N/A requirements_add N/A N/A self deploy_reqs extend N/A False N/A N/A extend N/A N/A N/A N/A N/A self _deployment_requirements extend deploy_reqs N/A N/A N/A self _deployment_requirements deploy_reqs N/A requirements_get N/A N/A self N/A N/A N/A N/A N/A self _deployment_requirements N/A N/A hasattr self requires N/A N/A op kwargs type actor_reqs_match N/A requires N/A self requires + N/A N/A signature_set N/A N/A self signature N/A N/A N/A N/A N/A self _signature None N/A N/A N/A self _signature signature N/A N/A ShadowActor N/A Actor N/A N/A A shadow actor try to behave as another actor but don't have any implementation __init__ N/A N/A self actor_type name allow_invalid_transitions disable_transition_checks disable_state_checks actor_id N/A True False False None N/A N/A N/A self inport_names N/A N/A N/A self outport_names N/A N/A N/A N/A N/A super ShadowActor self __init__ actor_type name allow_invalid_transitions allow_invalid_transitions disable_transition_checks disable_transition_checks disable_state_checks disable_state_checks actor_id actor_id N/A init N/A N/A self N/A args N/A N/A N/A self _shadow_args args N/A N/A manage N/A _shadow_args create_shadow_port N/A N/A self port_name port_dir port_id N/A None N/A N/A N/A port_dir in N/A N/A N/A N/A N/A self inport_names append port_name N/A port N/A N/A actorport InPort port_name self N/A N/A N/A self inports N/A port_name port N/A N/A N/A N/A N/A self outport_names append port_name N/A port N/A N/A actorport OutPort port_name self N/A N/A N/A self outports N/A port_name port N/A port N/A enabled N/A N/A self N/A N/A N/A False N/A requirements_get N/A N/A self N/A N/A N/A N/A self _signature N/A N/A N/A N/A self _deployment_requirements N/A N/A op kwargs type shadow_actor_reqs_match N/A signature shadow_params N/A self _signature N/A N/A N/A self _shadow_args keys + N/A N/A N/A N/A _log error N/A Shadow actor %s - %s miss signature N/A N/A self name N/A self id N/A N/A self _deployment_requirements N/A N/A