pip_services3_commons.run.IExecutable module

pip_services3_commons.run.IExecutable

Interface for executable components with parameters

copyright

Conceptual Vision Consulting LLC 2018-2019, see AUTHORS for more details.

license

MIT, see LICENSE for more details.

class pip_services3_commons.run.IExecutable.IExecutable

Bases: abc.ABC

Interface for components that can be called to execute work.

execute(correlation_id: Optional[str, None], args: <module 'pip_services3_commons.run.Parameters' from '/pip_services3_commons/run/Parameters.py'>)

Executes component with arguments and receives execution result.

Parameters
  • correlation_id – (optional) transaction id to trace execution through call chain.

  • args – execution arguments.

Returns

execution result