distributor.distributor_command

Attributes

logger

Classes

DistributorCommand

A command to be run by the distributor service.

Module Contents

distributor.distributor_command.logger
class distributor.distributor_command.DistributorCommand(func: Callable[Ellipsis, None], *args: Any, **kwargs: Any)

A command to be run by the distributor service.

Parameters:
  • func – a callable which does work and optionally modifies task instance state.

  • *args – positional args to be passed into func.

  • **kwargs – kwargs to be passed into func.

error_raised = False