Module Expr Str Import alias Import alias ImportFrom alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore BoolOpOr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore TupleLoad Assign NameStore TupleLoad Call NameLoad Call NameLoad keyword ListLoad Str Call NameLoad FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad Str TupleLoad Str Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad Call NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Assert Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If BoolOpAnd Call NameLoad NameLoad UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str kwarg body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
.. autoclass:: Command
   :members:
   :member-order: bysource

 N/A argparse N/A logging pulsar Setting Application ImproperlyConfigured isawaitable pulsar.utils.config Config LogLevel Debug LogHandlers lux __version__ lux.utils.async maybe_green ConfigError N/A Exception N/A __init__ N/A N/A self config_file N/A N/A N/A N/A self config_file config_file N/A N/A CommandError N/A ImproperlyConfigured N/A N/A N/A service_parser N/A N/A services description help N/A True N/A N/A description N/A description services to run N/A p N/A N/A argparse ArgumentParser description description add_help help N/A N/A N/A p add_argument service nargs ? choices services help Service to run N/A p N/A ConsoleParser N/A object N/A N/A A class for parsing the console inputs.

    Used as base class for both :class:`.Command` and :class:`.App`
     N/A help None N/A option_list N/A N/A default_option_list N/A N/A LogLevel N/A LogHandlers default N/A console N/A Debug config_module N/A N/A self N/A N/A N/A NotImplementedError N/A property get_version N/A N/A self N/A N/A N/A NotImplementedError N/A get_parser N/A N/A self N/A params N/A N/A parser N/A N/A argparse ArgumentParser params N/A N/A N/A parser add_argument --version action version version N/A N/A self get_version help Show version number and exit N/A config N/A Setting config N/A -c --config default N/A self config_module desc python dotted path to a Lux/Pulsar config  file, where settings can be specified. N/A N/A N/A config add_argument parser True N/A opt N/A self default_option_list N/A N/A N/A N/A opt add_argument parser True N/A opt N/A self option_list N/A N/A N/A N/A opt add_argument parser True N/A parser N/A N/A LuxApp N/A Application N/A __call__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A super __call__ N/A N/A N/A ImproperlyConfigured N/A N/A N/A on_config N/A N/A self actor N/A N/A N/A This is just a dummy app and therefore we don't want to add
        it to the arbiter monitor collection
         N/A False N/A N/A LuxCommand N/A ConsoleParser N/A N/A Signature class for lux commands.

    A :class:`.LuxCommand` is never initialised directly, instead,
    the :meth:`.Application.get_command` method is used to retrieve it and
    executed by its callable method.

    .. attribute:: name

        Command name, given by the module name containing the Command.

    .. attribute:: app

        The :class:`.Application` running this :class:`.Command`.

    .. attribute:: stdout

        The file object corresponding to the output streams of this command.

        Default: ``sys.stdout``

    .. attribute:: stderr

        The file object corresponding to the error streams of this command.

        Default: ``sys.stderr``
     N/A pulsar_config_include N/A log_level log_handlers debug config __init__ N/A N/A self name app N/A N/A N/A N/A self name name N/A N/A self app app N/A __call__ N/A N/A self argv N/A params N/A N/A app N/A N/A self pulsar_app argv N/A N/A app N/A N/A N/A N/A self app wsgi_handler N/A result N/A maybe_green N/A self app N/A self run N/A app cfg params N/A N/A N/A isawaitable result N/A N/A N/A N/A N/A self app _loop is_running N/A N/A result N/A N/A N/A N/A self app _loop run_until_complete result N/A result N/A get_version N/A N/A self N/A N/A N/A Return the :class:`.Command` version.

        By default it is the same version as lux.
         N/A __version__ N/A config_module N/A N/A self N/A N/A N/A N/A N/A self app config_module N/A property run N/A N/A self argv N/A params N/A N/A Run this :class:`Command`.

        This is the only method which needs implementing by subclasses.
         N/A NotImplementedError N/A logger N/A N/A self N/A N/A N/A N/A N/A logging getLogger N/A lux.%s N/A self name N/A property write N/A N/A self stream N/A N/A N/A Write ``stream`` to the :attr:`stdout`. N/A N/A N/A N/A self app write stream N/A write_err N/A N/A self stream N/A N/A N/A Write ``stream`` to the :attr:`stderr`. N/A N/A N/A N/A self app write_err stream N/A pulsar_app N/A N/A self argv application log_name N/A None lux kw N/A N/A app N/A self app N/A N/A application None N/A N/A application LuxApp N/A cfg N/A Config include N/A self pulsar_config_include N/A N/A cfg N/A N/A N/A application cfg copy N/A setting N/A self option_list N/A N/A N/A N/A cfg settings N/A N/A setting name N/A N/A setting copy N/A N/A application callable N/A app callable description N/A self help epilog N/A N/A N/A app config get EPILOG cfg cfg argv argv log_name log_name version N/A N/A app meta version debug N/A app debug config N/A app config_module kw N/A N/A