Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore BinOpMult ListLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If UnaryOpNot Call AttributeLoad NameLoad attr body AugAssignSub SubscriptStore NameLoad Index Num Num Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Num Num body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr If NameLoad body Return SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad Assign NameStore ListLoad Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body AugAssignSub SubscriptStore NameLoad Index Num Num If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Num Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body TryExcept body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list If NameLoad body Expr Call NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return NameLoad orelse Return Call NameLoad AttributeLoad NameLoad attr decorator_list Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad decorator_list Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list
N/A N/A Utility methods for manipulating AsyncResults. N/A functools N/A sys N/A gevent gevent Greenlet gevent.event AsyncResult g_AsyncResult NamedGreenlet N/A Greenlet N/A __init__ N/A N/A self run N/A None args kwargs N/A N/A N/A self name None N/A N/A N/A Greenlet __init__ self run args kwargs N/A spawn N/A N/A cls name N/A args kwargs N/A N/A g N/A cls args kwargs N/A N/A g name name N/A N/A N/A g start N/A g N/A classmethod __repr__ N/A N/A self N/A N/A N/A N/A self name N/A N/A N/A self name N/A N/A N/A N/A NamedGreenlet __repr__ self N/A N/A AsyncResult N/A g_AsyncResult N/A WhenAll N/A N/A ars N/A N/A N/A Returns an AsyncResult representing the state of all AsyncResults passed.

    Args:
      ars - An enumerable of AsyncResults.
    Returns:
      An AsyncResult representing the completion of all ars passed in.  When all
      complete, the AsyncResult will be set to an array of the results of each
      AsyncResult, in the order they were enumerated in.
      If any AsyncResult fails, the return result will fail.
     N/A ret N/A AsyncResult N/A num_ars N/A len ars N/A total N/A num_ars N/A results N/A N/A None num_ars complete N/A N/A _n _ar N/A N/A N/A N/A _ar exception N/A N/A N/A N/A ret set_exception N/A _ar exception N/A N/A N/A N/A N/A ret ready N/A N/A N/A total N/A 0 1 N/A N/A results N/A _n N/A _ar value N/A N/A N/A total N/A 0 0 N/A N/A N/A N/A ret set results N/A N/A N/A n ar N/A enumerate ars N/A N/A N/A N/A ar rawlink N/A N/A functools partial complete n N/A ret N/A staticmethod WhenAny N/A N/A ars N/A N/A N/A Returns an AsyncResult representing the state of any AsyncResult passed in.
    The return value represents the state of the first AsyncResult to complete, or,
    if all fail, the last to fail.

    Args:
      ars - An enumerable of AsyncResults.
    Returns:
      An AsyncResult representing the state of the first AsyncResult to complete.
      The AsyncResult's value will be set to the value of the first result to
      complete, or, if all fail, the exception thrown by the last to fail.
     N/A ready_ars N/A ar N/A ar ars N/A N/A ar ready N/A ready_ars N/A N/A N/A ready_ars N/A 0 N/A ret N/A AsyncResult N/A total N/A N/A len ars complete N/A N/A _ar N/A N/A N/A N/A total N/A 0 1 N/A N/A N/A N/A total N/A 0 0 N/A _ar exception N/A N/A N/A N/A ret set_exception N/A _ar exception N/A N/A N/A N/A N/A N/A ret ready N/A N/A _ar successful N/A N/A N/A N/A ret set N/A _ar value N/A N/A ar ars N/A N/A N/A N/A ar rawlink complete N/A ret N/A staticmethod FromValue N/A N/A val N/A N/A N/A N/A val None N/A N/A N/A N/A AsyncResult Complete N/A N/A ar N/A AsyncResult N/A N/A N/A ar set val N/A ar N/A staticmethod Complete N/A N/A N/A N/A N/A Return an AsyncResult that has completed. N/A _COMPLETE N/A staticmethod CompleteIn N/A N/A n N/A N/A N/A Returns an AsyncResult that completes in <n> seconds

    Args:
      n - The number of seconds to wait before completing.
     N/A ar N/A AsyncResult helper N/A N/A N/A N/A N/A N/A N/A ar set N/A N/A g N/A Greenlet helper N/A N/A N/A g start_later N/A float n N/A ar N/A staticmethod _SafeLinkHelper N/A N/A self fn N/A N/A N/A N/A N/A N/A N/A self set N/A fn N/A N/A N/A N/A N/A N/A self set_exception N/A N/A N/A sys exc_info N/A 1 N/A SafeLink N/A N/A self fn N/A N/A N/A Propagate the result of calling fn() on a new greenlet to ar

    Args:
      ar - An AsyncResult.
      fn - The function to execute.
     N/A N/A N/A gevent spawn N/A self _SafeLinkHelper fn N/A ContinueWith N/A N/A self fn on_hub N/A True N/A N/A cw_ar N/A AsyncResult continue_with_callback N/A N/A _ar N/A N/A run N/A N/A N/A N/A N/A N/A N/A val N/A fn _ar N/A N/A N/A cw_ar set val N/A N/A N/A N/A N/A N/A cw_ar set_exception N/A N/A N/A sys exc_info N/A 1 N/A N/A on_hub N/A N/A N/A run N/A N/A N/A N/A gevent spawn run N/A N/A N/A N/A self rawlink continue_with_callback N/A cw_ar N/A Map N/A N/A self fn N/A N/A mapper N/A N/A _ N/A N/A N/A N/A self exception N/A N/A self N/A N/A N/A fn N/A self value N/A N/A N/A N/A N/A N/A self ContinueWith mapper Unwrap N/A _UnwrapHelper N/A N/A self target N/A N/A N/A N/A N/A self ready N/A N/A N/A self exception N/A N/A N/A N/A target set_exception N/A self exception N/A N/A N/A isinstance N/A self value AsyncResult N/A N/A N/A N/A N/A self value _UnwrapHelper target N/A N/A N/A N/A target set N/A self value N/A N/A N/A N/A self rawlink N/A N/A functools partial N/A AsyncResult _UnwrapHelper target target N/A Unwrap N/A N/A self N/A N/A N/A unwrapped_ar N/A AsyncResult N/A N/A N/A self _UnwrapHelper unwrapped_ar N/A unwrapped_ar N/A TryGet N/A N/A val N/A N/A N/A N/A isinstance val AsyncResult N/A N/A N/A N/A val get N/A N/A val N/A staticmethod Run N/A N/A fn N/A N/A N/A ar N/A AsyncResult N/A N/A N/A ar SafeLink fn N/A ar N/A staticmethod RunInline N/A N/A fn N/A N/A N/A ar N/A AsyncResult N/A N/A N/A ar _SafeLinkHelper fn N/A ar N/A staticmethod N/A N/A _COMPLETE N/A AsyncResult N/A N/A N/A _COMPLETE set NoopTimeout N/A object N/A start N/A N/A self N/A N/A N/A N/A cancel N/A N/A self N/A N/A N/A N/A N/A