Module Import alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Dict For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list
N/A N/A logging N/A uuid N/A LIFECYCLE_STATE_STARTING STARTING N/A LIFECYCLE_STATE_CONNECTED CONNECTED N/A LIFECYCLE_STATE_DISCONNECTED DISCONNECTED N/A LIFECYCLE_STATE_SHUTTING_DOWN SHUTTING_DOWN N/A LIFECYCLE_STATE_SHUTDOWN SHUTDOWN LifecycleService N/A object N/A N/A logger N/A N/A logging getLogger LifecycleService N/A state None __init__ N/A N/A self config N/A N/A N/A N/A self _listeners N/A N/A listener N/A config lifecycle_listeners N/A N/A N/A N/A self add_listener listener N/A N/A self is_live True N/A N/A N/A self fire_lifecycle_event LIFECYCLE_STATE_STARTING N/A add_listener N/A N/A self on_lifecycle_change N/A N/A N/A id N/A str N/A N/A uuid uuid4 N/A N/A N/A self _listeners N/A id on_lifecycle_change N/A id N/A remove_listener N/A N/A self registration_id N/A N/A N/A N/A N/A N/A N/A N/A self _listeners pop registration_id N/A True N/A N/A N/A KeyError N/A N/A False N/A fire_lifecycle_event N/A N/A self new_state N/A N/A N/A N/A new_state LIFECYCLE_STATE_SHUTTING_DOWN N/A N/A N/A self is_live False N/A N/A self state new_state N/A N/A N/A N/A self logger debug New Lifecycle state is %s new_state N/A listener N/A N/A N/A self _listeners values N/A N/A N/A N/A N/A listener new_state N/A N/A N/A N/A N/A N/A N/A self logger exception Exception in lifecycle listener N/A N/A