c7n.executor module

class c7n.executor.ExecutorRegistry(plugin_type)[source]

Bases: c7n.registry.PluginRegistry

class c7n.executor.MainThreadExecutor(*args, **kw)[source]

Bases: object

For running tests.

c7n_async == True -> catch exceptions and store them in the future. c7n_async == False -> let exceptions bubble up.

c7n_async = True
map(func, iterable)[source]
submit(func, *args, **kw)[source]
type = 'main'
type_aliases = None
class c7n.executor.MainThreadFuture(value, exception=None)[source]

Bases: object

add_done_callback(fn)[source]
cancel()[source]
cancelled()[source]
done()[source]
exception()[source]
result(timeout=None)[source]
c7n.executor.executor(name, **kw)[source]