Module Expr Str ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias alias Import alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Num Num Num NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad If CompareNotIn Str AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call NameLoad keyword Call NameLoad AttributeLoad NameLoad attr keyword Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For NameStore NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Continue Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Call NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr NameLoad If BoolOpOr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Num Str AttributeLoad AttributeLoad NameLoad attr attr Str Num Num Num Call NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str TryExcept body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str handlers ExceptHandler type NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad BoolOpOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad If Call AttributeLoad NameLoad attr Str Str body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr Str Pass AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str ImportFrom alias alias If UnaryOpNot Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Return ListLoad Assign NameStore Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BoolOpAnd CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad NameLoad NameLoad CompareGt AttributeLoad AttributeLoad NameLoad attr attr Num CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad Lambda arguments args NameParam defaults AttributeLoad Call AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareNotIn AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad If Call NameLoad NameLoad body Assign NameStore NameLoad Break If UnaryOpNot NameLoad body Return ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults AttributeLoad Call AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call NameLoad NameLoad Lambda arguments args NameParam defaults AttributeLoad Call AttributeLoad NameLoad attr attr body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Assign NameStore Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr CompareNotIn AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice For NameStore NameLoad body If BoolOpAnd AttributeLoad Call AttributeLoad NameLoad attr attr CompareNotIn AttributeLoad Call AttributeLoad NameLoad attr attr ListLoad Num Num body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignSub NameStore AttributeLoad Call AttributeLoad NameLoad attr attr If CompareEq Call NameLoad NameLoad Num body Continue Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults BinOpAdd BinOpSub NameLoad NameLoad Num NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults AttributeLoad NameLoad attr keyword NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Assign NameStore BinOpAdd BinOpSub NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad BinOpMult NameLoad BinOpDiv NameLoad Call NameLoad NameLoad For NameStore NameLoad body Assign AttributeStore Call AttributeLoad NameLoad attr attr NameLoad AugAssignAdd NameStore NameLoad Assign NameStore BinOpSub NameLoad NameLoad While CompareGt NameLoad Num body For NameStore NameLoad body If CompareLtE NameLoad Num body Break AugAssignAdd AttributeStore Call AttributeLoad NameLoad attr attr Num AugAssignSub NameStore Num If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Lambda arguments args NameParam defaults AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults UnaryOpNot AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If UnaryOpNot Call NameLoad ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Continue TryExcept body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults CompareGt Call AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad AugAssignAdd AttributeStore Call AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Pass Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad If Call AttributeLoad NameLoad attr Str Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Dict If UnaryOpNot AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad While AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Assign NameStore Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Str TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Str NameLoad NameLoad If UnaryOpNot CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad ListComp ListLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore NameLoad body Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BinOpMod Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body TryExcept body If BoolOpOr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Continue Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BinOpMod Str BinOpMult BinOpSub Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr BinOpMod Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad orelse If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body If BoolOpAnd CompareEq Call NameLoad AttributeLoad NameLoad attr Num CompareIsNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str If BoolOpAnd CompareIn Str NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd CompareIn Str NameLoad CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A 
.. module:: Dispatcher
   :platform: Unix
   :synopsis: A useful module indeed.
 __future__ with_statement N/A logging N/A socket N/A time Queue Queue itertools groupby ifilter chain N/A collections N/A N/A N/A simplejson json N/A N/A N/A ImportError N/A N/A json octopus.core singletonconfig singletonstats octopus.core.threadpool ThreadPool makeRequests NoResultsPending octopus.core.framework MainLoopApplication octopus.core.tools elapsedTimeToString octopus.dispatcher.model DispatchTree FolderNode RenderNode Pool PoolShare enums octopus.dispatcher.strategies FifoStrategy octopus.dispatcher settings octopus.dispatcher.db.pulidb PuliDB octopus.dispatcher.model.enums * octopus.dispatcher.poolman.filepoolman FilePoolManager octopus.dispatcher.poolman.wspoolman WebServicePoolManager octopus.dispatcher.licenses.licensemanager LicenseManager Dispatcher N/A MainLoopApplication N/A N/A The Dispatcher class is the core of the dispatcher application.
    It computes the assignments of commands to workers according to a
    DispatchTree and handles all the communications with the workers and
    clients.
     N/A instance None N/A init False __new__ N/A N/A cls framework N/A N/A N/A N/A N/A cls instance None N/A N/A N/A cls instance N/A N/A N/A super Dispatcher cls __new__ cls N/A N/A cls instance N/A __init__ N/A N/A self framework N/A N/A N/A LOGGER N/A N/A logging getLogger main.dispatcher N/A N/A self init N/A N/A N/A N/A self init True N/A N/A self nextCycle N/A N/A time time N/A N/A N/A MainLoopApplication __init__ self framework N/A N/A self threadPool N/A ThreadPool 16 0 0 None N/A N/A self cycle 1 N/A N/A self dispatchTree N/A DispatchTree N/A N/A self licenseManager N/A LicenseManager N/A N/A self enablePuliDB N/A settings DB_ENABLE N/A N/A self cleanDB N/A settings DB_CLEAN_DATA N/A N/A self restartService False N/A N/A self pulidb None N/A N/A self enablePuliDB N/A N/A N/A self pulidb N/A PuliDB N/A self cleanDB N/A self licenseManager N/A N/A N/A N/A self dispatchTree registerModelListeners N/A rnsAlreadyInitialized N/A N/A self initPoolsDataFromBackend N/A N/A N/A self enablePuliDB N/A N/A self cleanDB N/A N/A N/A N/A LOGGER warning --- Reloading database (9 steps) --- N/A prevTimer N/A N/A time time N/A N/A N/A N/A self pulidb restoreStateFromDb N/A self dispatchTree rnsAlreadyInitialized N/A N/A N/A LOGGER warning N/A %d jobs reloaded from database N/A len N/A N/A self dispatchTree tasks N/A N/A N/A LOGGER warning N/A Total time elapsed %s N/A elapsedTimeToString prevTimer N/A N/A N/A LOGGER warning N/A N/A N/A LOGGER warning --- Checking dispatcher state (3 steps) --- N/A startTimer N/A N/A time time N/A N/A N/A LOGGER warning 1/3 Update completion and status N/A N/A N/A N/A self dispatchTree updateCompletionAndStatus N/A N/A N/A LOGGER warning N/A     Elapsed time %s N/A elapsedTimeToString startTimer N/A prevTimer N/A N/A time time N/A N/A N/A LOGGER warning 2/3 Update rendernodes N/A N/A N/A self updateRenderNodes N/A N/A N/A LOGGER warning N/A     Elapsed time %s N/A elapsedTimeToString prevTimer N/A prevTimer N/A N/A time time N/A N/A N/A LOGGER warning 3/3 Validate dependencies N/A N/A N/A N/A self dispatchTree validateDependencies N/A N/A N/A LOGGER warning N/A     Elapsed time %s N/A elapsedTimeToString prevTimer N/A N/A N/A LOGGER warning N/A Total time elapsed %s N/A elapsedTimeToString startTimer N/A N/A N/A LOGGER warning N/A N/A N/A self enablePuliDB N/A N/A self cleanDB N/A N/A N/A N/A self dispatchTree toModifyElements N/A N/A N/A default N/A N/A self dispatchTree pools N/A N/A pool N/A Pool None name default N/A N/A N/A LOGGER warning N/A Default pool was not loaded from DB, create a new default pool: %s pool N/A N/A self defaultPool N/A N/A N/A self dispatchTree pools N/A default N/A N/A N/A LOGGER warning --- Loading dispatch rules --- N/A startTimer N/A N/A time time N/A N/A N/A self loadRules N/A N/A N/A LOGGER warning N/A Total time elapsed %s N/A elapsedTimeToString startTimer N/A N/A N/A LOGGER warning N/A N/A self queue N/A Queue maxsize 10000 N/A initPoolsDataFromBackend N/A N/A self N/A N/A N/A 
        Loads pools and workers from appropriate backend.
         N/A N/A N/A N/A N/A settings POOLS_BACKEND_TYPE file N/A N/A manager N/A FilePoolManager N/A N/A N/A N/A settings POOLS_BACKEND_TYPE ws N/A N/A manager N/A WebServicePoolManager N/A N/A N/A N/A settings POOLS_BACKEND_TYPE db N/A N/A False N/A N/A N/A Exception N/A N/A False N/A computers N/A N/A manager listComputers N/A poolsList N/A N/A manager listPools N/A poolsById N/A N/A poolDesc poolsList N/A N/A pool N/A Pool id N/A int N/A poolDesc id name N/A str N/A poolDesc name N/A N/A N/A N/A N/A self dispatchTree toCreateElements append pool N/A N/A poolsById N/A N/A pool id pool N/A rnById N/A N/A computerDesc computers N/A N/A N/A N/A N/A computerDesc name N/A N/A socket getfqdn N/A computerDesc name N/A ip N/A N/A socket gethostbyname N/A computerDesc name N/A N/A N/A N/A socket gaierror N/A N/A N/A renderNode N/A RenderNode N/A computerDesc id N/A N/A N/A computerDesc name : N/A str N/A computerDesc port N/A N/A computerDesc cpucount N/A computerDesc cpucores N/A computerDesc cpufreq ip N/A computerDesc port N/A computerDesc ramsize N/A N/A json loads N/A computerDesc properties N/A N/A N/A N/A N/A self dispatchTree toCreateElements append renderNode N/A pool N/A computerDesc pools N/A N/A N/A N/A N/A N/A poolsById N/A N/A pool id renderNodes append renderNode N/A N/A N/A N/A renderNode pools append N/A poolsById N/A N/A pool id N/A N/A N/A N/A self dispatchTree renderNodes N/A N/A str N/A renderNode name renderNode N/A N/A rnById N/A N/A renderNode id renderNode N/A pool N/A N/A poolsById values N/A N/A N/A N/A N/A self dispatchTree pools N/A N/A pool name pool N/A N/A N/A self cleanDB N/A N/A self enablePuliDB N/A N/A graphs N/A FolderNode 1 graphs N/A N/A self dispatchTree root root 0 0 0 N/A FifoStrategy N/A N/A N/A N/A N/A self dispatchTree toCreateElements append graphs N/A N/A N/A N/A self dispatchTree nodes N/A N/A graphs id graphs N/A ps N/A PoolShare 1 N/A N/A N/A self dispatchTree pools N/A default graphs N/A PoolShare UNBOUND N/A N/A N/A N/A N/A self dispatchTree toCreateElements append ps N/A N/A self enablePuliDB N/A N/A N/A N/A N/A self pulidb dropPoolsAndRnsTables N/A N/A N/A N/A self pulidb createElements N/A N/A self dispatchTree toCreateElements N/A N/A N/A N/A self dispatchTree resetDbElements N/A True N/A shutdown N/A N/A self N/A N/A N/A 
        Clean procedure before shutting done puli server.
         N/A N/A N/A N/A N/A logging getLogger main warning ----------------------------------------------- N/A N/A N/A N/A N/A logging getLogger main warning Exit event caught: closing dispatcher... N/A N/A N/A N/A N/A N/A self dispatchTree updateCompletionAndStatus N/A N/A N/A N/A N/A logging getLogger main warning [OK] update completion and status N/A N/A N/A Exception N/A N/A N/A N/A N/A N/A logging getLogger main warning [HS] update completion and status N/A N/A N/A N/A N/A self updateRenderNodes N/A N/A N/A N/A N/A logging getLogger main warning [OK] update render nodes N/A N/A N/A Exception N/A N/A N/A N/A N/A N/A logging getLogger main warning [HS] update render nodes N/A N/A N/A N/A N/A N/A self dispatchTree validateDependencies N/A N/A N/A N/A N/A logging getLogger main warning [OK] validate dependencies N/A N/A N/A Exception N/A N/A N/A N/A N/A N/A logging getLogger main warning [HS] validate dependencies N/A N/A N/A N/A N/A self updateDB N/A N/A N/A N/A N/A logging getLogger main warning [OK] update DB N/A N/A N/A Exception N/A N/A N/A N/A N/A N/A logging getLogger main warning [HS] update DB N/A loadRules N/A N/A self N/A N/A rules.graphview GraphViewBuilder N/A graphs N/A N/A N/A self dispatchTree findNodeByPath /graphs None N/A N/A graphs None N/A N/A N/A N/A N/A N/A logging getLogger main.dispatcher fatal No '/graphs' node, impossible to load rule for /graphs. N/A N/A N/A self stop N/A N/A N/A N/A N/A self dispatchTree rules append N/A GraphViewBuilder N/A self dispatchTree graphs N/A prepare N/A N/A self N/A N/A N/A N/A stop N/A N/A self N/A N/A N/A Stops the application part of the dispatcher. N/A N/A modified N/A N/A self N/A N/A N/A N/A bool N/A N/A N/A self dispatchTree toArchiveElements N/A N/A self dispatchTree toCreateElements N/A N/A self dispatchTree toModifyElements N/A property mainLoop N/A N/A self N/A N/A N/A 
        | Dispatcher main loop iteration.
        | Periodically called with tornado'sinternal callback mecanism, the frequency is defined by config: CORE.MASTER_UPDATE_INTERVAL
        | During this process, the dispatcher will:
        |   - update completion and status for all jobs in dispatchTree
        |   - update status of renderNodes
        |   - validate inter tasks dependencies
        |   - update the DB with recorded changes in the model
        |   - compute new assignments and send them to the proper rendernodes
        |   - release all finished jobs/rns
         N/A log N/A N/A logging getLogger main N/A loopStartTime N/A N/A time time N/A prevTimer loopStartTime N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A singletonstats theStats cycleDate loopStartTime N/A N/A N/A log info ----------------------------------------------------- N/A N/A N/A log info  Start dispatcher process cycle (old version). N/A N/A N/A N/A N/A N/A self threadPool poll N/A N/A N/A NoResultsPending N/A N/A N/A N/A N/A N/A log info finished some network requests N/A N/A N/A self cycle 1 N/A N/A N/A N/A self dispatchTree updateCompletionAndStatus N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats cycleTimers N/A update_tree N/A N/A N/A time time prevTimer N/A N/A N/A log info N/A %8.2f ms --> update completion status N/A N/A N/A N/A time time prevTimer 1000 N/A prevTimer N/A N/A time time N/A N/A N/A self updateRenderNodes N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats cycleTimers N/A update_rn N/A N/A N/A time time prevTimer N/A N/A N/A log info N/A %8.2f ms --> update render node N/A N/A N/A N/A time time prevTimer 1000 N/A prevTimer N/A N/A time time N/A N/A N/A N/A self dispatchTree validateDependencies N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats cycleTimers N/A update_dependencies N/A N/A N/A time time prevTimer N/A N/A N/A log info N/A %8.2f ms --> validate dependencies N/A N/A N/A N/A time time prevTimer 1000 N/A prevTimer N/A N/A time time N/A N/A N/A self updateDB N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats cycleTimers N/A update_db N/A N/A N/A time time prevTimer N/A N/A N/A log info N/A %8.2f ms --> update DB N/A N/A N/A N/A time time prevTimer 1000 N/A prevTimer N/A N/A time time N/A assignments N/A N/A self computeAssignments N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats cycleTimers N/A compute_assignment N/A N/A N/A time time prevTimer N/A N/A N/A log info N/A %8.2f ms --> compute assignments. N/A N/A N/A N/A time time prevTimer 1000 N/A prevTimer N/A N/A time time N/A N/A N/A self sendAssignments assignments N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats cycleTimers N/A send_assignment N/A N/A N/A time time prevTimer N/A N/A N/A N/A singletonstats theStats cycleCounts N/A num_assignments N/A len assignments N/A N/A N/A log info N/A %8.2f ms --> send %r assignments. N/A N/A N/A N/A N/A time time prevTimer 1000 N/A len assignments N/A prevTimer N/A N/A time time N/A renderNode N/A N/A N/A N/A self dispatchTree renderNodes values N/A N/A N/A N/A renderNode releaseFinishingStatus N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats cycleTimers N/A release_finishing N/A N/A N/A time time prevTimer N/A N/A N/A log info N/A %8.2f ms --> releaseFinishingStatus N/A N/A N/A N/A time time prevTimer 1000 N/A prevTimer N/A N/A time time N/A loopDuration N/A N/A N/A N/A time time loopStartTime 1000 N/A N/A N/A log info N/A %8.2f ms --> cycle ended.  loopDuration N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats cycleTimers N/A time_elapsed N/A N/A N/A time time loopStartTime N/A N/A N/A N/A singletonstats theStats aggregate N/A updateDB N/A N/A self N/A N/A N/A N/A settings DB_ENABLE N/A N/A N/A N/A N/A self pulidb createElements N/A N/A self dispatchTree toCreateElements N/A N/A N/A N/A self pulidb updateElements N/A N/A self dispatchTree toModifyElements N/A N/A N/A N/A self pulidb archiveElements N/A N/A self dispatchTree toArchiveElements N/A N/A N/A N/A self dispatchTree resetDbElements N/A computeAssignments N/A N/A self N/A N/A N/A Computes and returns a list of (rendernode, command) assignments. N/A LOGGER N/A N/A logging getLogger main model.node NoRenderNodeAvailable NoLicenseAvailableForTask N/A N/A N/A any N/A N/A N/A rn isAvailable N/A rn N/A N/A N/A N/A self dispatchTree renderNodes values N/A N/A N/A N/A entryPoints N/A set N/A N/A poolShare node N/A poolShare N/A N/A N/A N/A self dispatchTree poolShares values N/A N/A N/A N/A poolShare node status N/A NODE_BLOCKED NODE_DONE NODE_CANCELED NODE_PAUSED N/A N/A N/A poolShare node readyCommandCount 0 N/A N/A N/A poolShare node name graphs N/A isRenderNodesAvailable False N/A N/A pool jobsIterator N/A groupby entryPoints N/A N/A N/A x N/A N/A N/A N/A x mainPoolShare pool N/A N/A renderNodesAvailable N/A set N/A rn N/A rn N/A pool renderNodes N/A N/A rn status N/A RN_UNKNOWN RN_PAUSED RN_WORKING N/A N/A len renderNodesAvailable N/A N/A isRenderNodesAvailable True N/A N/A N/A isRenderNodesAvailable N/A N/A N/A N/A prevTimer N/A N/A time time N/A entryPoints N/A sorted entryPoints key N/A N/A N/A node N/A N/A N/A N/A node mainPoolShare pool N/A N/A pool jobsIterator N/A groupby entryPoints N/A N/A N/A x N/A N/A N/A N/A x mainPoolShare pool N/A N/A jobsList N/A job N/A job jobsIterator N/A onlineRenderNodes N/A set N/A rn N/A rn N/A pool renderNodes N/A N/A rn status N/A RN_UNKNOWN RN_PAUSED N/A nbOnlineRenderNodes N/A len onlineRenderNodes N/A l N/A jobsList N/A N/A job l N/A N/A N/A N/A N/A N/A job mainPoolShare userDefinedMaxRN N/A N/A N/A N/A job mainPoolShare maxRN N/A -1 0 N/A N/A N/A N/A jobsList remove job N/A nbOnlineRenderNodes N/A N/A N/A job mainPoolShare maxRN N/A N/A N/A len jobsList 0 N/A N/A N/A dkList N/A N/A job dispatchKey N/A job jobsList N/A nbJobs N/A len jobsList N/A nbRNAssigned 0 N/A dkMin N/A min dkList N/A dkPositiveList N/A map N/A N/A N/A x N/A N/A N/A x dkMin 1 dkList N/A dkSum N/A sum dkPositiveList N/A jobsList N/A sorted jobsList key N/A N/A N/A x N/A N/A x id N/A jobsList N/A sorted jobsList key N/A N/A N/A x N/A N/A x dispatchKey reverse True N/A N/A dk jobIterator N/A groupby jobsList N/A N/A N/A x N/A N/A x dispatchKey N/A N/A jobs N/A job N/A job jobIterator N/A dkPositive N/A N/A dk dkMin 1 N/A updatedmaxRN N/A int N/A round N/A nbOnlineRenderNodes N/A dkPositive N/A float dkSum N/A job jobs N/A N/A N/A N/A N/A job mainPoolShare maxRN updatedmaxRN N/A nbRNAssigned updatedmaxRN N/A unassignedRN N/A nbOnlineRenderNodes nbRNAssigned N/A N/A unassignedRN 0 N/A N/A job jobsList N/A N/A N/A unassignedRN 0 N/A N/A N/A N/A N/A N/A job mainPoolShare maxRN 1 N/A unassignedRN 1 N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats assignmentTimers N/A update_max_rn N/A N/A N/A time time prevTimer N/A N/A N/A LOGGER info %8.2f ms --> .... updating max RN values N/A N/A N/A N/A time time prevTimer 1000 N/A entryPoints N/A sorted entryPoints key N/A N/A N/A node N/A N/A node id N/A entryPoints N/A sorted entryPoints key N/A N/A N/A node N/A N/A node dispatchKey reverse True N/A userDefEntryPoints N/A ifilter N/A N/A N/A node N/A N/A N/A N/A node mainPoolShare userDefinedMaxRN entryPoints N/A standardEntryPoints N/A ifilter N/A N/A N/A node N/A N/A N/A N/A N/A node mainPoolShare userDefinedMaxRN entryPoints N/A scoredEntryPoints N/A chain userDefEntryPoints standardEntryPoints N/A prevTimer N/A N/A time time N/A assignments N/A N/A entryPoint scoredEntryPoints N/A N/A N/A N/A any N/A N/A N/A poolShare hasRenderNodesAvailable N/A poolShare N/A N/A N/A entryPoint poolShares values N/A N/A N/A N/A N/A N/A rn com N/A N/A entryPoint dispatchIterator N/A N/A N/A N/A N/A N/A N/A N/A self queue qsize 0 N/A N/A N/A N/A assignments append N/A rn com N/A N/A N/A N/A entryPoint mainPoolShare allocatedRN 1 N/A N/A rn currentpoolshare N/A N/A entryPoint mainPoolShare N/A N/A N/A NoRenderNodeAvailable N/A N/A N/A N/A NoLicenseAvailableForTask N/A N/A N/A N/A LOGGER info N/A Missing license for node "%s" (other commands can start anyway). N/A entryPoint name N/A N/A assignmentDict N/A N/A collections defaultdict list N/A N/A rn com assignments N/A N/A N/A N/A N/A assignmentDict N/A rn append com N/A N/A N/A singletonconfig get CORE GET_STATS N/A N/A N/A N/A N/A singletonstats theStats assignmentTimers N/A dispatch_command N/A N/A N/A time time prevTimer N/A N/A N/A LOGGER info %8.2f ms --> .... dispatching commands N/A N/A N/A N/A time time prevTimer 1000 N/A N/A N/A assignmentDict items N/A updateRenderNodes N/A N/A self N/A N/A N/A rendernode N/A N/A N/A N/A self dispatchTree renderNodes values N/A N/A N/A N/A rendernode updateStatus N/A sendAssignments N/A N/A self assignmentList N/A N/A N/A Processes a list of (rendernode, command) assignments. sendAssignment N/A N/A args N/A N/A N/A N/A rendernode commands args N/A failures N/A N/A command commands N/A N/A headers N/A N/A N/A N/A rendernode idInformed N/A N/A N/A headers N/A rnId N/A rendernode id N/A root N/A command task N/A ancestors N/A root N/A N/A root parent N/A N/A root N/A root parent N/A N/A N/A ancestors append root N/A arguments N/A N/A environment N/A PULI_USER PULI_ALLOCATED_MEMORY PULI_ALLOCATED_CORES N/A N/A command task user N/A unicode N/A N/A rendernode usedRam N/A N/A command id N/A unicode N/A N/A rendernode usedCoresNumber N/A N/A command id N/A ancestor ancestors N/A N/A N/A N/A arguments update N/A ancestor arguments N/A N/A N/A environment update N/A ancestor environment N/A N/A N/A arguments update N/A command arguments N/A log N/A N/A logging getLogger assign N/A N/A N/A log info N/A Sending command: %d from task %s to %s N/A N/A command id N/A N/A command task name rendernode N/A commandDict N/A id runner arguments validationExpression taskName relativePathToLogDir environment runnerPackages watcherPackages N/A command id N/A str N/A N/A command task runner arguments N/A N/A command task validationExpression N/A N/A command task name N/A %d N/A N/A command task id environment N/A command runnerPackages N/A command watcherPackages N/A body N/A N/A json dumps commandDict N/A N/A headers N/A Content-Length N/A len body N/A N/A headers N/A Content-Type application/json N/A N/A N/A N/A resp data N/A N/A rendernode request POST /commands/ body headers N/A N/A N/A N/A resp status 202 N/A N/A N/A N/A N/A N/A logging getLogger main.dispatcher error Assignment request failed: command %d on worker %s N/A command id N/A rendernode name N/A N/A N/A failures append N/A rendernode command N/A N/A N/A N/A N/A N/A logging getLogger main.dispatcher info Sent assignment of command %d to worker %s N/A command id N/A rendernode name N/A N/A N/A N/A rendernode RequestFailed N/A e N/A N/A N/A N/A N/A N/A logging getLogger main.dispatcher error Assignment of command %d to worker %s failed. Worker is likely dead (%r) N/A command id N/A rendernode name e N/A N/A N/A failures append N/A rendernode command N/A failures N/A N/A requests N/A makeRequests sendAssignment N/A N/A a b N/A N/A a b assignmentList N/A self _assignmentFailed N/A request requests N/A N/A N/A N/A N/A self threadPool putRequest request N/A _assignmentFailed N/A N/A self request failures N/A N/A N/A assignment failures N/A N/A N/A rendernode command assignment N/A N/A N/A rendernode clearAssignment command N/A N/A N/A command clearAssignment N/A N/A N/A N/A N/A logging getLogger main.dispatcher info N/A  - assignment cleared: command[%r] on rn[%r] N/A N/A command id N/A rendernode name N/A handleNewGraphRequestApply N/A N/A self graph N/A N/A N/A Handles a graph submission request and closes the given ticket
        according to the result of the process.
         N/A prevTimer N/A N/A time time N/A nodes N/A N/A N/A self dispatchTree registerNewGraph graph N/A N/A N/A N/A N/A logging getLogger main.dispatcher info N/A %.2f ms --> graph registered N/A N/A N/A N/A time time prevTimer 1000 N/A prevTimer N/A N/A time time N/A node nodes N/A N/A N/A N/A N/A N/A N/A N/A node tags N/A paused true N/A N/A N/A node tags N/A paused True N/A N/A N/A N/A node setPaused True N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A N/A logging getLogger main.dispatcher info N/A %.2f ms --> jobs set in pause if needed N/A N/A N/A N/A time time prevTimer 1000 N/A prevTimer N/A N/A time time N/A N/A N/A N/A N/A logging getLogger main.dispatcher info N/A Added graph "%s" to the model. N/A graph N/A name N/A nodes N/A updateCommandApply N/A N/A self dct N/A N/A N/A 
        Called from a RN with a json desc of a command (ie rendernode info, command info etc).
        Raise an execption to tell caller to send a HTTP404 response to RN, if not error a HTTP200 will be send instead
         N/A log N/A N/A logging getLogger main.dispatcher N/A commandId N/A dct N/A id N/A renderNodeName N/A dct N/A renderNodeName N/A N/A N/A command N/A N/A N/A self dispatchTree commands N/A commandId N/A N/A N/A KeyError N/A N/A N/A KeyError N/A Command not found: %d commandId N/A N/A N/A command renderNode N/A N/A N/A KeyError N/A Command %d (%d) is no longer registered on rendernode %s N/A commandId N/A int N/A dct N/A status renderNodeName N/A N/A N/A N/A N/A command renderNode name renderNodeName N/A N/A N/A N/A log warning N/A The emitting RN %s is different from the RN assigned to the command in pulimodel: %s. N/A renderNodeName N/A N/A command renderNode name N/A N/A KeyError N/A Command %d is running on a different rendernode (%s) than the one in puli's model (%s). N/A commandId renderNodeName N/A N/A command renderNode name N/A rn N/A command renderNode N/A N/A rn lastAliveTime N/A max N/A N/A time time N/A rn lastAliveTime N/A N/A commandId N/A rn commands N/A N/A N/A N/A N/A len N/A rn commands 0 N/A N/A command status N/A enums CMD_CANCELED N/A N/A N/A N/A rn commands N/A commandId command N/A N/A N/A rn reserveLicense command N/A self licenseManager N/A N/A N/A log warning N/A re-assigning command %d on %s. (TIMEOUT?) N/A commandId N/A rn name N/A N/A status dct N/A N/A N/A command status N/A int N/A dct N/A status N/A N/A N/A completion dct N/A N/A command status N/A enums CMD_RUNNING N/A N/A N/A command completion N/A float N/A dct N/A completion N/A N/A command message N/A dct N/A message N/A N/A validatorMessage dct N/A N/A N/A command validatorMessage N/A dct N/A validatorMessage N/A N/A command errorInfos N/A dct N/A errorInfos N/A N/A command validatorMessage N/A N/A N/A command status N/A enums CMD_ERROR N/A N/A N/A stats dct N/A N/A dct N/A stats None N/A N/A N/A command stats N/A dct N/A stats N/A queueWorkload N/A N/A self workload N/A N/A N/A N/A N/A N/A self queue put workload N/A N/A