Distributed Task Queue.
debug_import(name, locals=None, globals=None, fromlist=None, level=None, real_import=None)¶
_find_option_with_arg(argv, short_opts=None, long_opts=None)¶
Search argv for options specifying short and longopt alternatives.
- str: value for option found
- KeyError: if option not found.
maybe_patch_concurrency(argv=None, short_opts=list, long_opts=list, patches=dict)¶
Apply eventlet/gevent monkeypatches.
With short and long opt alternatives that specify the command line option to set the pool, this makes sure that anything that needs to be patched is completed as early as possible. (e.g., eventlet/gevent monkey patches).