Module Expr Str TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body Pass Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad Str Str keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad Str attr GeneratorExp SubscriptLoad NameLoad Slice NameLoad comprehension NameStore GeneratorExp SubscriptLoad NameLoad Index NameLoad comprehension NameStore SubscriptLoad Call NameLoad NameLoad Slice NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad Str attr NameLoad NameLoad SubscriptLoad NameLoad Slice NameLoad decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Assign NameStore Num Assign NameStore NameLoad Assign NameStore Dict Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Dict attr NameLoad Call NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad NameLoad NameLoad body Continue For NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad body TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults AttributeLoad SubscriptLoad NameLoad Index Num attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Return ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareGtE NameLoad Call NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareIn NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad For TupleStore NameStore NameStore NameLoad body If CompareNotIn NameLoad NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad orelse Return NameLoad decorator_list Return ListComp TupleLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad comprehension TupleStore NameStore NameStore NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Dict Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If BoolOpOr UnaryOpNot NameLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body If AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword Num Return NameLoad Return Call NameLoad Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list decorator_list Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body If Call AttributeLoad Call NameLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body If Call AttributeLoad Call NameLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call AttributeLoad Call NameLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return NameLoad orelse TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Return ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Return ListLoad Assign NameStore ListLoad If Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad Return NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return ListLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return ListLoad NameLoad For NameStore NameLoad body AugAssignAdd NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body For NameStore Call NameLoad Call AttributeLoad NameLoad attr body AugAssignAdd NameStore Call NameLoad NameLoad Return NameLoad decorator_list
N/A N/A 
The abstract :py:class:`Task` class.
It is a central concept of Luigi and represents the state of the workflow.
See :doc:`/tasks` for an overview.
 N/A N/A itertools imap map N/A N/A N/A ImportError N/A N/A N/A logging N/A traceback N/A warnings N/A json N/A hashlib N/A re luigi six luigi parameter luigi.task_register Register N/A Parameter N/A parameter Parameter N/A logger N/A N/A logging getLogger luigi-interface N/A TASK_ID_INCLUDE_PARAMS 3 N/A TASK_ID_TRUNCATE_PARAMS 16 N/A TASK_ID_TRUNCATE_HASH 10 N/A TASK_ID_INVALID_CHAR_REGEX N/A N/A re compile [^A-Za-z0-9_] namespace N/A N/A namespace N/A None N/A N/A 
    Call to set namespace of tasks declared after the call.

    If called without arguments or with ``None`` as the namespace, the namespace
    is reset, which is recommended to do at the end of any file where the
    namespace is set to avoid unintentionally setting namespace on tasks outside
    of the scope of the current file.

    The namespace of a Task can also be changed by specifying the property
    ``task_namespace``. This solution has the advantage that the namespace
    doesn't have to be restored.

    .. code-block:: python

        class Task2(luigi.Task):
            task_namespace = 'namespace2'
     N/A N/A Register _default_namespace namespace N/A task_id_str N/A N/A task_family params N/A N/A N/A 
    Returns a canonical string used to identify a particular task

    :param task_family: The task family (class name) of the task
    :param params: a dict mapping parameter names to their serialized values
    :return: A unique, shortened identifier corresponding to the family and params
     N/A param_str N/A N/A json dumps params separators N/A , : sort_keys True N/A param_hash N/A N/A N/A N/A hashlib md5 N/A N/A param_str encode utf-8 hexdigest N/A param_summary N/A N/A _ join N/A N/A p N/A TASK_ID_TRUNCATE_PARAMS N/A p N/A N/A params N/A p N/A p N/A N/A sorted params N/A TASK_ID_INCLUDE_PARAMS N/A param_summary N/A N/A TASK_ID_INVALID_CHAR_REGEX sub _ param_summary N/A N/A N/A {}_{}_{} format task_family param_summary N/A param_hash N/A TASK_ID_TRUNCATE_HASH N/A BulkCompleteNotImplementedError N/A NotImplementedError N/A N/A This is here to trick pylint.

    pylint thinks anything raising NotImplementedError needs to be implemented
    in any subclass. bulk_complete isn't like that. This tricks pylint into
    thinking that the default implementation is a valid implementation and no
    an abstract method. N/A N/A Task N/A object N/A N/A 
    This is the base class of all Luigi Tasks, the base unit of work in Luigi.

    A Luigi Task describes a unit or work.

    The key methods of a Task, which must be implemented in a subclass are:

    * :py:meth:`run` - the computation done by this task.
    * :py:meth:`requires` - the list of Tasks that this Task depends on.
    * :py:meth:`output` - the output :py:class:`Target` that this Task creates.

    Each :py:class:`~luigi.Parameter` of the Task should be declared as members:

    .. code:: python

        class MyTask(luigi.Task):
            count = luigi.IntParameter()
            second_param = luigi.Parameter()

    In addition to any declared properties and methods, there are a few
    non-declared properties, which are created by the :py:class:`Register`
    metaclass:

    ``Task.task_namespace``
      optional string which is prepended to the task name for the sake of
      scheduling. If it isn't overridden in a Task, whatever was last declared
      using `luigi.namespace` will be used.
     N/A _event_callbacks N/A N/A priority 0 N/A disabled False N/A resources N/A N/A worker_timeout None owner_email N/A N/A self N/A N/A N/A 
        Override this to send out additional error emails to task owner, in addition to the one
        defined in `core`.`error-email`. This should return a string or a list of strings. e.g.
        'test@exmaple.com' or ['test1@example.com', 'test2@example.com']
         N/A None N/A property use_cmdline_section N/A N/A self N/A N/A N/A  Property used by core config such as `--workers` etc.
        These will be exposed without the class as prefix. N/A True N/A property event_handler N/A N/A cls event N/A N/A N/A 
        Decorator for adding event handlers.
         wrapped N/A N/A callback N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A cls _event_callbacks setdefault cls N/A setdefault event N/A set add callback N/A callback N/A N/A wrapped N/A classmethod trigger_event N/A N/A self event N/A args kwargs N/A N/A 
        Trigger that calls all of the specified events associated with this class.
         N/A N/A event_class event_callbacks N/A N/A six iteritems N/A self _event_callbacks N/A N/A N/A N/A isinstance self event_class N/A N/A N/A callback N/A N/A event_callbacks get event N/A N/A N/A N/A N/A N/A callback args kwargs N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A BaseException N/A N/A N/A N/A logger exception Error in event callback for %r event N/A task_module N/A N/A self N/A N/A N/A  Returns what Python module to import to get access to this class.  N/A N/A N/A self __class__ __module__ N/A property task_family N/A N/A self N/A N/A N/A 
        Convenience method since a property on the metaclass isn't directly accessible through the class instances.
         N/A N/A N/A self __class__ task_family N/A property get_params N/A N/A cls N/A N/A N/A 
        Returns all of the Parameters for this Task.
         N/A params N/A N/A param_name N/A dir cls N/A N/A param_obj N/A getattr cls param_name N/A N/A N/A isinstance param_obj Parameter N/A N/A N/A N/A N/A params append N/A param_name param_obj N/A N/A N/A params sort key N/A N/A N/A t N/A N/A N/A t N/A 1 _counter N/A params N/A classmethod get_param_names N/A N/A cls include_significant N/A False N/A N/A N/A name N/A N/A name p N/A N/A cls get_params N/A include_significant N/A p significant N/A classmethod get_param_values N/A N/A cls params args kwargs N/A N/A N/A 
        Get the values of the parameters from the args and kwargs.

        :param params: list of (param_name, Parameter).
        :param args: positional arguments
        :param kwargs: keyword arguments.
        :returns: list of `(name, value)` tuples, one for each parameter.
         N/A result N/A N/A params_dict N/A dict params N/A task_name N/A cls task_family N/A exc_desc N/A %s[args=%s, kwargs=%s] N/A task_name args kwargs N/A positional_params N/A N/A n p N/A N/A n p params N/A p positional N/A N/A i arg N/A enumerate args N/A N/A N/A i N/A len positional_params N/A N/A N/A N/A parameter UnknownParameterException N/A %s: takes at most %d parameters (%d given) N/A exc_desc N/A len positional_params N/A len args N/A N/A param_name param_obj N/A positional_params N/A i N/A N/A result N/A param_name N/A N/A param_obj normalize arg N/A N/A param_name arg N/A N/A six iteritems kwargs N/A N/A N/A param_name result N/A N/A N/A N/A parameter DuplicateParameterException N/A %s: parameter %s was already set as a positional parameter N/A exc_desc param_name N/A N/A param_name params_dict N/A N/A N/A N/A parameter UnknownParameterException N/A %s: unknown parameter %s N/A exc_desc param_name N/A N/A result N/A param_name N/A N/A N/A params_dict N/A param_name normalize arg N/A N/A param_name param_obj params N/A N/A N/A param_name result N/A N/A N/A N/A N/A param_obj has_task_value task_name param_name N/A N/A N/A N/A parameter MissingParameterException N/A %s: requires the '%s' parameter to be set N/A exc_desc param_name N/A N/A result N/A param_name N/A N/A param_obj task_value task_name param_name list_to_tuple N/A N/A x N/A N/A N/A  Make tuples out of lists and sets to allow hashing  N/A N/A N/A isinstance x list N/A isinstance x set N/A N/A N/A tuple x N/A N/A x N/A N/A N/A N/A param_name N/A list_to_tuple N/A result N/A param_name N/A N/A param_name param_obj params N/A classmethod __init__ N/A N/A self N/A args kwargs N/A N/A params N/A N/A self get_params N/A param_values N/A N/A self get_param_values params args kwargs N/A N/A key value param_values N/A N/A N/A setattr self key value N/A N/A self param_args N/A tuple N/A value N/A N/A key value param_values N/A N/A self param_kwargs N/A dict param_values N/A N/A self task_id N/A task_id_str N/A self task_family N/A N/A self to_str_params only_significant True N/A N/A self __hash N/A hash N/A self task_id N/A N/A self set_tracking_url None N/A N/A self set_status_message None N/A initialized N/A N/A self N/A N/A N/A 
        Returns ``True`` if the Task is initialized and ``False`` otherwise.
         N/A N/A hasattr self task_id N/A from_str_params N/A N/A cls params_str N/A N/A N/A 
        Creates an instance from a str->str hash.

        :param params_str: dict of param name -> value as string.
         N/A kwargs N/A N/A N/A param_name param N/A N/A cls get_params N/A N/A N/A param_name params_str N/A N/A N/A kwargs N/A param_name N/A N/A param parse N/A params_str N/A param_name N/A N/A cls kwargs N/A classmethod to_str_params N/A N/A self only_significant N/A False N/A N/A 
        Convert all parameters to a str->str hash.
         N/A params_str N/A N/A params N/A dict N/A N/A self get_params N/A N/A param_name param_value N/A N/A six iteritems N/A self param_kwargs N/A N/A N/A N/A only_significant N/A N/A params N/A param_name significant N/A N/A N/A params_str N/A param_name N/A N/A N/A params N/A param_name serialize param_value N/A params_str N/A clone N/A N/A self cls N/A None kwargs N/A N/A 
        Creates a new instance from an existing instance where some of the args have changed.

        There's at least two scenarios where this is useful (see test/clone_test.py):

        * remove a lot of boiler plate when you have recursive dependencies and lots of args
        * there's task inheritance and some logic is on the base class

        :param cls:
        :param kwargs:
        :return:
         N/A k N/A N/A N/A self param_kwargs copy N/A N/A N/A k update N/A N/A six iteritems kwargs N/A N/A cls None N/A N/A cls N/A self __class__ N/A new_k N/A N/A N/A param_name param_class N/A N/A cls get_params N/A N/A N/A param_name k N/A N/A N/A new_k N/A param_name N/A k N/A param_name N/A N/A cls new_k N/A __hash__ N/A N/A self N/A N/A N/A N/A self __hash N/A __repr__ N/A N/A self N/A N/A N/A 
        Build a task representation like `MyTask(param1=1.5, param2='5')`
         N/A params N/A N/A self get_params N/A param_values N/A N/A self get_param_values params N/A N/A self param_kwargs N/A repr_parts N/A N/A param_objs N/A dict params N/A N/A param_name param_value param_values N/A N/A N/A N/A param_objs N/A param_name significant N/A N/A N/A N/A repr_parts append N/A %s=%s N/A param_name N/A N/A N/A param_objs N/A param_name serialize param_value N/A task_str N/A N/A {}({}) format N/A self task_family N/A N/A ,  join repr_parts N/A task_str N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A N/A self __class__ N/A other __class__ N/A N/A self param_args N/A other param_args N/A complete N/A N/A self N/A N/A N/A 
        If the task has any outputs, return ``True`` if all outputs exist.
        Otherwise, return ``False``.

        However, you may freely override this method with custom logic.
         N/A outputs N/A flatten N/A N/A self output N/A N/A N/A len outputs 0 N/A N/A N/A N/A warnings warn N/A Task %r without outputs has no custom complete() method self stacklevel 2 N/A False N/A N/A all N/A map N/A N/A N/A output N/A N/A N/A output exists outputs N/A bulk_complete N/A N/A cls parameter_tuples N/A N/A N/A 
        Returns those of parameter_tuples for which this Task is complete.

        Override (with an efficient implementation) for efficient scheduling
        with range tools. Keep the logic consistent with that of complete().
         N/A N/A BulkCompleteNotImplementedError N/A classmethod output N/A N/A self N/A N/A N/A 
        The output that this Task produces.

        The output of the Task determines if the Task needs to be run--the task
        is considered finished iff the outputs all exist. Subclasses should
        override this method to return a single :py:class:`Target` or a list of
        :py:class:`Target` instances.

        Implementation note
          If running multiple workers, the output must be a resource that is accessible
          by all workers, such as a DFS or database. Otherwise, workers might compute
          the same output since they don't see the work done by other workers.

        See :ref:`Task.output`
         N/A N/A N/A requires N/A N/A self N/A N/A N/A 
        The Tasks that this Task depends on.

        A Task will only run if all of the Tasks that it requires are completed.
        If your Task does not require any other Tasks, then you don't need to
        override this method. Otherwise, a Subclasses can override this method
        to return a single Task, a list of Task instances, or a dict whose
        values are Task instances.

        See :ref:`Task.requires`
         N/A N/A N/A _requires N/A N/A self N/A N/A N/A 
        Override in "template" tasks which themselves are supposed to be
        subclassed and thus have their requires() overridden (name preserved to
        provide consistent end-user experience), yet need to introduce
        (non-input) dependencies.

        Must return an iterable which among others contains the _requires() of
        the superclass.
         N/A N/A flatten N/A N/A self requires N/A process_resources N/A N/A self N/A N/A N/A 
        Override in "template" tasks which provide common resource functionality
        but allow subclasses to specify additional resources while preserving
        the name for consistent end-user experience.
         N/A N/A self resources N/A input N/A N/A self N/A N/A N/A 
        Returns the outputs of the Tasks returned by :py:meth:`requires`

        See :ref:`Task.input`

        :return: a list of :py:class:`Target` objects which are specified as
                 outputs of all required Tasks.
         N/A N/A getpaths N/A N/A self requires N/A deps N/A N/A self N/A N/A N/A 
        Internal method used by the scheduler.

        Returns the flattened list of requires.
         N/A N/A flatten N/A N/A self _requires N/A run N/A N/A self N/A N/A N/A 
        The task run method, to be overridden in a subclass.

        See :ref:`Task.run`
         N/A N/A on_failure N/A N/A self exception N/A N/A N/A 
        Override for custom error handling.

        This method gets called if an exception is raised in :py:meth:`run`.
        The returned value of this method is json encoded and sent to the scheduler
        as the `expl` argument. Its string representation will be used as the
        body of the error email sent out if any.

        Default behavior is to return a string representation of the stack trace.
         N/A traceback_string N/A N/A traceback format_exc N/A N/A Runtime error:
%s traceback_string N/A on_success N/A N/A self N/A N/A N/A 
        Override for doing custom completion handling for a larger class of tasks

        This method gets called when :py:meth:`run` completes without raising any exceptions.

        The returned value is json encoded and sent to the scheduler as the `expl` argument.

        Default behavior is to send an None value N/A N/A N/A N/A N/A six add_metaclass Register MixinNaiveBulkComplete N/A object N/A N/A 
    Enables a Task to be efficiently scheduled with e.g. range tools, by providing a bulk_complete implementation which checks completeness in a loop.

    Applicable to tasks whose completeness checking is cheap.

    This doesn't exploit output location specific APIs for speed advantage, nevertheless removes redundant scheduler roundtrips.
     bulk_complete N/A N/A cls parameter_tuples N/A N/A N/A generated_tuples N/A N/A parameter_tuple parameter_tuples N/A N/A N/A isinstance parameter_tuple N/A list tuple N/A N/A N/A N/A N/A cls parameter_tuple complete N/A N/A N/A N/A generated_tuples append parameter_tuple N/A N/A N/A isinstance parameter_tuple dict N/A N/A N/A N/A N/A cls parameter_tuple complete N/A N/A N/A N/A generated_tuples append parameter_tuple N/A N/A N/A N/A N/A cls parameter_tuple complete N/A N/A N/A N/A generated_tuples append parameter_tuple N/A generated_tuples N/A classmethod N/A externalize N/A N/A task N/A N/A N/A 
    Returns an externalized version of the Task.

    See :py:class:`ExternalTask`.
     N/A N/A task run None N/A task N/A ExternalTask N/A Task N/A N/A 
    Subclass for references to external dependencies.

    An ExternalTask's does not have a `run` implementation, which signifies to
    the framework that this Task's :py:meth:`output` is generated outside of
    Luigi.
     N/A run None N/A WrapperTask N/A Task N/A N/A 
    Use for tasks that only wrap other tasks and that by definition are done if all their requirements exist.
     complete N/A N/A self N/A N/A N/A N/A all N/A N/A N/A r complete N/A r N/A flatten N/A N/A self requires N/A N/A Config N/A Task N/A N/A 
    Class for configuration. See :ref:`ConfigClasses`.
     N/A N/A getpaths N/A N/A struct N/A N/A N/A 
    Maps all Tasks in a structured data object to their .output().
     N/A N/A isinstance struct Task N/A N/A N/A N/A struct output N/A N/A N/A isinstance struct dict N/A N/A r N/A N/A N/A k v N/A N/A six iteritems struct N/A N/A N/A r N/A k N/A getpaths v N/A r N/A N/A N/A N/A s N/A list struct N/A N/A N/A TypeError N/A N/A N/A Exception N/A Cannot map %s to Task/dict/list N/A str struct N/A N/A N/A getpaths r N/A r s N/A flatten N/A N/A struct N/A N/A N/A 
    Creates a flat list of all all items in structured output (dicts, lists, items):

    .. code-block:: python

        >>> sorted(flatten({'a': 'foo', 'b': 'bar'}))
        ['bar', 'foo']
        >>> sorted(flatten(['foo', ['bar', 'troll']]))
        ['bar', 'foo', 'troll']
        >>> flatten('foo')
        ['foo']
        >>> flatten(42)
        [42]
     N/A N/A struct None N/A N/A N/A N/A flat N/A N/A N/A isinstance struct dict N/A N/A N/A _ result N/A N/A six iteritems struct N/A N/A flat N/A flatten result N/A flat N/A N/A isinstance struct N/A six string_types N/A N/A N/A struct N/A N/A N/A iterator N/A iter struct N/A N/A N/A TypeError N/A N/A N/A struct N/A result iterator N/A N/A flat N/A flatten result N/A flat N/A flatten_output N/A N/A task N/A N/A N/A 
    Lists all output targets by recursively walking output-less (wrapper) tasks.

    FIXME order consistently.
     N/A r N/A flatten N/A N/A task output N/A N/A r N/A N/A dep N/A flatten N/A N/A task requires N/A N/A r N/A flatten_output dep N/A r N/A