Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore Dict Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq Call NameLoad NameLoad BinOpMod Str AttributeLoad NameLoad attr body Raise Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad keyword Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad keyword Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Dict Str Str Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad BinOpMod Str NameLoad NameLoad keyword Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If CompareLtE AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Pass Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str Call NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str While NameLoad body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad For NameStore Call AttributeLoad NameLoad attr Num body If BoolOpAnd NameLoad CompareGtE NameLoad NameLoad body Raise NameLoad Expr Yield Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str While NameLoad body Assign NameStore NameLoad TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str Call NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad While NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Return decorator_list If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Return Call NameLoad decorator_list decorator_list Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Pass Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call NameLoad AttributeLoad NameLoad attr NameLoad orelse Raise Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad GeneratorExp TupleLoad Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad keyword NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Return decorator_list Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore Call NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Slice Num NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad ListComp TupleLoad BinOpMod Str NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If SubscriptLoad NameLoad Index Str body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str orelse Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Raise NameLoad While NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Raise NameLoad If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Raise NameLoad Expr Yield NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str Return Call NameLoad keyword UnaryOpNot NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Dict Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Return Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Expr Call NameLoad NameLoad NameLoad With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Expr Call NameLoad NameLoad NameLoad With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str With Call NameLoad NameStore body If NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore TupleLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad TryExcept body Assign NameStore Dict Str Str NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Dict Str Str Call NameLoad GeneratorExp TupleLoad NameLoad Call NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list
N/A N/A kombu N/A kombu.entity N/A kombu.messaging N/A kombu.connection N/A itertools N/A sys N/A time N/A traceback N/A types N/A uuid N/A eventlet eventlet greenpool eventlet pools N/A greenlet nova context nova exception nova flags nova.rpc.common RemoteError LOG N/A N/A N/A eventlet monkey_patch N/A FLAGS N/A flags FLAGS ConsumerBase N/A object N/A N/A Consumer base class. __init__ N/A N/A self channel callback tag N/A kwargs N/A N/A Declare a queue on an amqp channel.

        'channel' is the amqp channel to use
        'callback' is the callback to call when messages are received
        'tag' is a unique ID for the consumer on the channel

        queue name, exchange name, and other kombu options are
        passed in here as a dictionary.
         N/A N/A self callback callback N/A N/A self tag N/A str tag N/A N/A self kwargs kwargs N/A N/A self queue None N/A N/A N/A self reconnect channel N/A reconnect N/A N/A self channel N/A N/A N/A Re-declare the queue after a rabbit reconnect N/A N/A self channel channel N/A N/A N/A self kwargs N/A channel channel N/A N/A self queue N/A N/A N/A kombu entity Queue N/A self kwargs N/A N/A N/A N/A self queue declare N/A consume N/A N/A self N/A args kwargs N/A N/A Actually declare the consumer on the amqp channel.  This will
        start the flow of messages from the queue.  Using the
        Connection.iterconsume() iterator will process the messages,
        calling the appropriate callback.

        If a callback is specified in kwargs, use that.  Otherwise,
        use the callback passed during __init__()

        If kwargs['nowait'] is True, then this call will block until
        a message is read.

        Messages will automatically be acked if the callback doesn't
        raise an exception
         N/A options N/A consumer_tag N/A self tag N/A N/A options N/A nowait N/A N/A kwargs get nowait False N/A callback N/A N/A kwargs get callback N/A self callback N/A N/A callback N/A N/A N/A ValueError No callback defined _callback N/A N/A raw_message N/A N/A N/A message N/A N/A N/A self channel message_to_python raw_message N/A N/A callback N/A message payload N/A N/A N/A message ack N/A N/A N/A N/A N/A self queue consume callback _callback args options N/A cancel N/A N/A self N/A N/A N/A Cancel the consuming from the queue, if it has started N/A N/A N/A N/A N/A N/A self queue cancel N/A self tag N/A N/A N/A KeyError N/A e N/A N/A N/A N/A str e N/A u'%s' N/A self tag N/A N/A N/A N/A self queue None N/A N/A DirectConsumer N/A ConsumerBase N/A N/A Queue/consumer class for 'direct' __init__ N/A N/A self channel msg_id callback tag N/A kwargs N/A N/A Init a 'direct' queue.

        'channel' is the amqp channel to use
        'msg_id' is the msg_id to listen on
        'callback' is the callback to call when messages are received
        'tag' is a unique ID for the consumer on the channel

        Other kombu options may be passed
         N/A options N/A durable auto_delete exclusive False True True N/A N/A N/A options update kwargs N/A exchange N/A N/A N/A kombu entity Exchange name msg_id type direct durable N/A options N/A durable auto_delete N/A options N/A auto_delete N/A N/A N/A N/A super DirectConsumer self __init__ channel callback tag name msg_id exchange exchange routing_key msg_id options N/A N/A TopicConsumer N/A ConsumerBase N/A N/A Consumer class for 'topic' __init__ N/A N/A self channel topic callback tag N/A kwargs N/A N/A Init a 'topic' queue.

        'channel' is the amqp channel to use
        'topic' is the topic to listen on
        'callback' is the callback to call when messages are received
        'tag' is a unique ID for the consumer on the channel

        Other kombu options may be passed
         N/A options N/A durable auto_delete exclusive N/A FLAGS rabbit_durable_queues False False N/A N/A N/A options update kwargs N/A exchange N/A N/A N/A kombu entity Exchange name N/A FLAGS control_exchange type topic durable N/A options N/A durable auto_delete N/A options N/A auto_delete N/A N/A N/A N/A super TopicConsumer self __init__ channel callback tag name topic exchange exchange routing_key topic options N/A N/A FanoutConsumer N/A ConsumerBase N/A N/A Consumer class for 'fanout' __init__ N/A N/A self channel topic callback tag N/A kwargs N/A N/A Init a 'fanout' queue.

        'channel' is the amqp channel to use
        'topic' is the topic to listen on
        'callback' is the callback to call when messages are received
        'tag' is a unique ID for the consumer on the channel

        Other kombu options may be passed
         N/A unique N/A N/A N/A uuid uuid4 hex N/A exchange_name N/A %s_fanout topic N/A queue_name N/A %s_fanout_%s N/A topic unique N/A options N/A durable auto_delete exclusive False True True N/A N/A N/A options update kwargs N/A exchange N/A N/A N/A kombu entity Exchange name exchange_name type fanout durable N/A options N/A durable auto_delete N/A options N/A auto_delete N/A N/A N/A N/A super FanoutConsumer self __init__ channel callback tag name queue_name exchange exchange routing_key topic options N/A N/A Publisher N/A object N/A N/A Base Publisher class __init__ N/A N/A self channel exchange_name routing_key N/A kwargs N/A N/A Init the Publisher class with the exchange_name, routing_key,
        and other options
         N/A N/A self exchange_name exchange_name N/A N/A self routing_key routing_key N/A N/A self kwargs kwargs N/A N/A N/A self reconnect channel N/A reconnect N/A N/A self channel N/A N/A N/A Re-establish the Producer after a rabbit reconnection N/A N/A self exchange N/A N/A N/A kombu entity Exchange name N/A self exchange_name N/A self kwargs N/A N/A self producer N/A N/A N/A kombu messaging Producer exchange N/A self exchange channel channel routing_key N/A self routing_key N/A send N/A N/A self msg N/A N/A N/A Send a message N/A N/A N/A N/A self producer publish msg N/A N/A DirectPublisher N/A Publisher N/A N/A Publisher class for 'direct' __init__ N/A N/A self channel msg_id N/A kwargs N/A N/A init a 'direct' publisher.

        Kombu options may be passed as keyword args to override defaults
         N/A options N/A durable auto_delete exclusive False True True N/A N/A N/A options update kwargs N/A N/A N/A N/A super DirectPublisher self __init__ channel msg_id msg_id type direct options N/A N/A TopicPublisher N/A Publisher N/A N/A Publisher class for 'topic' __init__ N/A N/A self channel topic N/A kwargs N/A N/A init a 'topic' publisher.

        Kombu options may be passed as keyword args to override defaults
         N/A options N/A durable auto_delete exclusive N/A FLAGS rabbit_durable_queues False False N/A N/A N/A options update kwargs N/A N/A N/A N/A super TopicPublisher self __init__ channel N/A FLAGS control_exchange topic type topic options N/A N/A FanoutPublisher N/A Publisher N/A N/A Publisher class for 'fanout' __init__ N/A N/A self channel topic N/A kwargs N/A N/A init a 'fanout' publisher.

        Kombu options may be passed as keyword args to override defaults
         N/A options N/A durable auto_delete exclusive False True True N/A N/A N/A options update kwargs N/A N/A N/A N/A super FanoutPublisher self __init__ channel N/A %s_fanout topic None type fanout options N/A N/A Connection N/A object N/A N/A Connection object. __init__ N/A N/A self N/A N/A N/A N/A self consumers N/A N/A N/A self consumer_thread None N/A N/A self max_retries N/A FLAGS rabbit_max_retries N/A N/A N/A self max_retries 0 N/A N/A N/A self max_retries None N/A N/A self interval_start N/A FLAGS rabbit_retry_interval N/A N/A self interval_stepping N/A FLAGS rabbit_retry_backoff N/A N/A self interval_max 30 N/A N/A self memory_transport False N/A N/A self params N/A dict hostname N/A FLAGS rabbit_host port N/A FLAGS rabbit_port userid N/A FLAGS rabbit_userid password N/A FLAGS rabbit_password virtual_host N/A FLAGS rabbit_virtual_host N/A N/A FLAGS fake_rabbit N/A N/A N/A N/A self params N/A transport memory N/A N/A self memory_transport True N/A N/A N/A self memory_transport False N/A N/A self connection None N/A N/A N/A self reconnect N/A reconnect N/A N/A self N/A N/A N/A Handles reconnecting and re-estblishing queues N/A N/A self connection N/A N/A N/A N/A N/A N/A N/A self connection close N/A N/A N/A N/A N/A self connection connection_errors N/A N/A N/A N/A N/A time sleep 1 N/A N/A self connection N/A N/A N/A kombu connection BrokerConnection N/A self params N/A N/A self memory_transport N/A N/A N/A N/A N/A self connection transport polling_interval 0.0 N/A N/A self consumer_num N/A N/A itertools count 1 N/A N/A N/A N/A N/A N/A self connection ensure_connection errback N/A self connect_error max_retries N/A self max_retries interval_start N/A self interval_start interval_step N/A self interval_stepping interval_max N/A self interval_max N/A N/A N/A N/A N/A self connection connection_errors N/A e N/A N/A err_str N/A str e N/A max_retries N/A self max_retries N/A N/A N/A LOG error N/A N/A _ Unable to connect to AMQP server after %(max_retries)d tries: %(err_str)s N/A locals N/A N/A N/A sys exit 1 N/A N/A N/A LOG info N/A _ N/A Connected to AMQP server on %(hostname)s:%(port)d N/A self params N/A N/A self channel N/A N/A N/A self connection channel N/A N/A self memory_transport N/A N/A N/A N/A N/A self channel _new_queue ae.undeliver N/A consumer N/A self consumers N/A N/A N/A N/A consumer reconnect N/A self channel N/A N/A self consumers N/A N/A N/A N/A LOG debug N/A _ Re-established AMQP queues N/A get_channel N/A N/A self N/A N/A N/A Convenience call for bin/clear_rabbit_queues N/A N/A self channel N/A connect_error N/A N/A self exc interval N/A N/A N/A Callback when there are connection re-tries by kombu N/A info N/A N/A N/A self params copy N/A N/A info N/A intv interval N/A N/A info N/A e exc N/A N/A N/A LOG error N/A N/A _ AMQP server on %(hostname)s:%(port)d is unreachable: %(e)s. Trying again in %(intv)d seconds. info N/A close N/A N/A self N/A N/A N/A Close/release this connection N/A N/A N/A self cancel_consumer_thread N/A N/A N/A N/A self connection release N/A N/A self connection None N/A reset N/A N/A self N/A N/A N/A Reset a connection so it can be used again N/A N/A N/A self cancel_consumer_thread N/A N/A N/A N/A self channel close N/A N/A self channel N/A N/A N/A self connection channel N/A N/A self memory_transport N/A N/A N/A N/A N/A self channel _new_queue ae.undeliver N/A N/A self consumers N/A N/A declare_consumer N/A N/A self consumer_cls topic callback N/A N/A N/A Create a Consumer using the class that was passed in and
        add it to our list of consumers
         N/A consumer N/A consumer_cls N/A self channel topic callback N/A N/A N/A self consumer_num next N/A N/A N/A N/A self consumers append consumer N/A consumer N/A iterconsume N/A N/A self limit N/A None N/A N/A Return an iterator that will consume from all queues/consumers N/A True N/A N/A N/A N/A queues_head N/A N/A self consumers N/A -1 N/A queues_tail N/A N/A self consumers N/A -1 N/A queue queues_head N/A N/A N/A N/A queue consume nowait True N/A N/A N/A queues_tail consume nowait False N/A iteration N/A N/A itertools count 0 N/A N/A N/A limit N/A iteration limit N/A N/A StopIteration N/A N/A N/A N/A N/A self connection drain_events N/A N/A N/A N/A N/A self connection connection_errors N/A e N/A N/A N/A N/A LOG exception N/A _ N/A Failed to consume message from queue: %s N/A str e N/A N/A N/A self reconnect N/A cancel_consumer_thread N/A N/A self N/A N/A N/A Cancel a consumer thread N/A N/A N/A self consumer_thread None N/A N/A N/A N/A N/A self consumer_thread kill N/A N/A N/A N/A N/A N/A self consumer_thread wait N/A N/A N/A N/A greenlet GreenletExit N/A N/A N/A N/A self consumer_thread None N/A publisher_send N/A N/A self cls topic msg N/A N/A N/A Send to a publisher based on the publisher class N/A True N/A N/A publisher None N/A N/A N/A publisher N/A cls N/A self channel topic N/A N/A N/A publisher send msg N/A N/A N/A N/A N/A N/A self connection connection_errors N/A e N/A N/A N/A N/A LOG exception N/A _ N/A Failed to publish message %s N/A str e N/A N/A N/A N/A N/A self reconnect N/A publisher N/A N/A N/A N/A publisher reconnect N/A self channel N/A N/A N/A N/A N/A self connection connection_errors N/A e N/A N/A N/A declare_direct_consumer N/A N/A self topic callback N/A N/A N/A Create a 'direct' queue.
        In nova's use, this is generally a msg_id queue used for
        responses for call/multicall
         N/A N/A N/A self declare_consumer DirectConsumer topic callback N/A declare_topic_consumer N/A N/A self topic callback N/A None N/A N/A Create a 'topic' consumer. N/A N/A N/A self declare_consumer TopicConsumer topic callback N/A declare_fanout_consumer N/A N/A self topic callback N/A N/A N/A Create a 'fanout' consumer N/A N/A N/A self declare_consumer FanoutConsumer topic callback N/A direct_send N/A N/A self msg_id msg N/A N/A N/A Send a 'direct' message N/A N/A N/A self publisher_send DirectPublisher msg_id msg N/A topic_send N/A N/A self topic msg N/A N/A N/A Send a 'topic' message N/A N/A N/A self publisher_send TopicPublisher topic msg N/A fanout_send N/A N/A self topic msg N/A N/A N/A Send a 'fanout' message N/A N/A N/A self publisher_send FanoutPublisher topic msg N/A consume N/A N/A self limit N/A None N/A N/A Consume from all queues/consumers N/A it N/A N/A self iterconsume limit limit N/A True N/A N/A N/A N/A N/A N/A it next N/A N/A N/A StopIteration N/A N/A N/A consume_in_thread N/A N/A self N/A N/A N/A Consumer from all queues/consumers in a greenthread _consumer_thread N/A N/A N/A N/A N/A N/A N/A N/A N/A self consume N/A N/A N/A N/A greenlet GreenletExit N/A N/A N/A N/A N/A N/A self consumer_thread None N/A N/A N/A self consumer_thread N/A N/A eventlet spawn _consumer_thread N/A N/A self consumer_thread N/A create_consumer N/A N/A self topic proxy fanout N/A False N/A N/A Create a consumer that calls a method in a proxy object N/A fanout N/A N/A N/A N/A self declare_fanout_consumer topic N/A ProxyCallback proxy N/A N/A N/A N/A self declare_topic_consumer topic N/A ProxyCallback proxy N/A N/A Pool N/A N/A pools Pool N/A N/A Class that implements a Pool of Connections. create N/A N/A self N/A N/A N/A N/A N/A LOG debug Pool creating new connection N/A N/A Connection N/A N/A N/A ConnectionPool N/A Pool max_size N/A FLAGS rpc_conn_pool_size order_as_stack True ConnectionContext N/A object N/A N/A The class that is actually returned to the caller of
    create_connection().  This is a essentially a wrapper around
    Connection that supports 'with' and can return a new Connection or
    one from a pool.  It will also catch when an instance of this class
    is to be deleted so that we can return Connections to the pool on
    exceptions and so forth without making the caller be responsible for
    catching all exceptions and making sure to return a connection to
    the pool.
     __init__ N/A N/A self pooled N/A True N/A N/A Create a new connection, or get one from the pool N/A N/A self connection None N/A pooled N/A N/A N/A self connection N/A N/A ConnectionPool get N/A N/A N/A self connection N/A Connection N/A N/A self pooled pooled N/A __enter__ N/A N/A self N/A N/A N/A with ConnectionContext() should return self N/A self N/A _done N/A N/A self N/A N/A N/A If the connection came from a pool, clean it up and put it back.
        If it did not come from a pool, close it.
         N/A N/A self connection N/A N/A N/A self pooled N/A N/A N/A N/A N/A self connection reset N/A N/A N/A ConnectionPool put N/A self connection N/A N/A N/A N/A N/A N/A N/A self connection close N/A N/A N/A Exception N/A N/A N/A N/A self connection None N/A __exit__ N/A N/A self t v tb N/A N/A N/A end of 'with' statement.  We're done here. N/A N/A N/A self _done N/A __del__ N/A N/A self N/A N/A N/A Caller is done with this connection.  Make sure we cleaned up. N/A N/A N/A self _done N/A close N/A N/A self N/A N/A N/A Caller is done with this connection. N/A N/A N/A self _done N/A __getattr__ N/A N/A self key N/A N/A N/A Proxy all other calls to the Connection instance N/A N/A self connection N/A N/A N/A getattr N/A self connection key N/A N/A N/A N/A exception InvalidRPCConnectionReuse N/A N/A ProxyCallback N/A object N/A N/A Calls methods on a proxy object based on method and args. __init__ N/A N/A self proxy N/A N/A N/A N/A self proxy proxy N/A N/A self pool N/A N/A greenpool GreenPool N/A FLAGS rpc_thread_pool_size N/A __call__ N/A N/A self message_data N/A N/A N/A Consumer callback to call a method on a proxy object.

        Parses the message for validity and fires off a thread to call the
        proxy object method.

        Message data should be a dictionary with two keys:
            method: string representing the method to call
            args: dictionary of arg: value

        Example: {'method': 'echo', 'args': {'value': 42}}

         N/A N/A N/A LOG debug N/A N/A _ received %s message_data N/A ctxt N/A _unpack_context message_data N/A method N/A N/A message_data get method N/A args N/A N/A message_data get args N/A N/A N/A method N/A N/A N/A N/A LOG warn N/A N/A _ no method for message: %s message_data N/A N/A N/A ctxt reply N/A N/A _ No method for message: %s message_data N/A N/A N/A N/A N/A self pool spawn_n N/A self _process_data ctxt method args N/A _process_data N/A N/A self ctxt method args N/A N/A N/A Thread that maigcally looks for a method on the proxy
        object and calls it.
         N/A node_func N/A getattr N/A self proxy N/A str method N/A node_args N/A dict N/A N/A N/A str k v N/A N/A k v N/A N/A args iteritems N/A N/A N/A rval N/A node_func context ctxt node_args N/A N/A isinstance rval N/A types GeneratorType N/A N/A x rval N/A N/A N/A N/A ctxt reply x None N/A N/A N/A N/A ctxt reply rval None N/A N/A N/A ctxt reply None None N/A N/A N/A Exception N/A e N/A N/A N/A N/A LOG exception Exception during message handling N/A N/A N/A ctxt reply None N/A N/A sys exc_info N/A N/A N/A N/A exception wrap_exception N/A _unpack_context N/A N/A msg N/A N/A N/A Unpack context from msg. N/A context_dict N/A N/A key N/A list N/A N/A msg keys N/A N/A key N/A str key N/A N/A N/A key startswith _context_ N/A N/A value N/A N/A msg pop key N/A N/A context_dict N/A N/A key N/A 9 value N/A N/A context_dict N/A msg_id N/A N/A msg pop _msg_id None N/A N/A N/A LOG debug N/A _ unpacked context: %s context_dict N/A N/A N/A RpcContext from_dict context_dict N/A _pack_context N/A N/A msg context N/A N/A N/A Pack context into msg.

    Values for message keys need to be less than 255 chars, so we pull
    context out into a bunch of separate keys. If we want to support
    more arguments in rabbit messages, we may want to do the same
    for args at some point.

     N/A context_d N/A dict N/A N/A N/A _context_%s key value N/A N/A key value N/A N/A N/A N/A context to_dict iteritems N/A N/A N/A msg update context_d N/A RpcContext N/A N/A context RequestContext N/A N/A Context that supports replying to a rpc.call __init__ N/A N/A self N/A args kwargs N/A N/A msg_id N/A N/A kwargs pop msg_id None N/A N/A self msg_id msg_id N/A N/A N/A N/A super RpcContext self __init__ args kwargs N/A reply N/A N/A self N/A args kwargs N/A N/A N/A self msg_id N/A N/A N/A msg_reply N/A self msg_id args kwargs N/A N/A MulticallWaiter N/A object N/A __init__ N/A N/A self connection N/A N/A N/A N/A self _connection connection N/A N/A self _iterator N/A N/A connection iterconsume N/A N/A self _result None N/A N/A self _done False N/A done N/A N/A self N/A N/A N/A N/A self _done True N/A N/A N/A N/A self _connection close N/A __call__ N/A N/A self data N/A N/A N/A The consume() callback will call this.  Store the result. N/A N/A data N/A failure N/A N/A N/A self _result N/A RemoteError N/A data N/A failure N/A N/A N/A self _result N/A data N/A result N/A __iter__ N/A N/A self N/A N/A N/A Return a result until we get a 'None' response from consumer N/A N/A self _done N/A N/A StopIteration N/A True N/A N/A N/A N/A N/A self _iterator next N/A result N/A self _result N/A N/A isinstance result Exception N/A N/A N/A N/A self done N/A result N/A N/A result None N/A N/A N/A N/A self done N/A StopIteration N/A N/A result N/A N/A create_connection N/A N/A new N/A True N/A N/A Create a connection N/A N/A ConnectionContext pooled N/A new N/A multicall N/A N/A context topic msg N/A N/A N/A Make a call that returns multiple times. N/A N/A N/A LOG debug N/A _ Making asynchronous call on %s ... topic N/A msg_id N/A N/A N/A uuid uuid4 hex N/A N/A N/A msg update N/A _msg_id msg_id N/A N/A N/A LOG debug N/A N/A _ MSG_ID is %s msg_id N/A N/A _pack_context msg context N/A conn N/A ConnectionContext N/A wait_msg N/A MulticallWaiter conn N/A N/A N/A conn declare_direct_consumer msg_id wait_msg N/A N/A N/A conn topic_send topic msg N/A wait_msg N/A call N/A N/A context topic msg N/A N/A N/A Sends a message on a topic and wait for a response. N/A rv N/A multicall context topic msg N/A rv N/A list rv N/A N/A rv N/A N/A N/A N/A rv N/A -1 N/A cast N/A N/A context topic msg N/A N/A N/A Sends a message on a topic without waiting for a response. N/A N/A N/A LOG debug N/A _ Making asynchronous cast on %s... topic N/A N/A _pack_context msg context N/A N/A ConnectionContext conn N/A N/A N/A N/A conn topic_send topic msg N/A fanout_cast N/A N/A context topic msg N/A N/A N/A Sends a message on a fanout exchange without waiting for a response. N/A N/A N/A LOG debug N/A _ Making asynchronous fanout cast... N/A N/A _pack_context msg context N/A N/A ConnectionContext conn N/A N/A N/A N/A conn fanout_send topic msg N/A msg_reply N/A N/A msg_id reply failure N/A None None N/A N/A Sends a reply or an error on the channel signified by msg_id.

    Failure should be a sys.exc_info() tuple.

     N/A N/A ConnectionContext conn N/A N/A failure N/A N/A message N/A str N/A failure N/A 1 N/A tb N/A N/A traceback format_exception failure N/A N/A N/A LOG error N/A _ Returning exception %s to caller message N/A N/A N/A LOG error tb N/A failure N/A N/A N/A failure N/A 0 __name__ N/A str N/A failure N/A 1 tb N/A N/A N/A msg N/A result failure reply failure N/A N/A N/A TypeError N/A N/A msg N/A result failure N/A dict N/A N/A k N/A repr v N/A N/A k v N/A N/A N/A reply __dict__ iteritems failure N/A N/A N/A conn direct_send msg_id msg N/A