pynenc.identifiers.task_id

Module Contents

Classes

TaskId

Structured identifier for a task.

Data

API

pynenc.identifiers.task_id.TASK_ID_SEPARATOR

‘.’

class pynenc.identifiers.task_id.TaskId[source]

Structured identifier for a task.

Parameters:
  • module (str) – The module where the task function is defined.

  • func_name (str) – The name of the task function.

module: str

None

func_name: str

None

key() str
config_key() str

Key used for config file lookups, using ‘.’ as separator.

Config files (YAML/JSON) use dot notation for task-specific settings, e.g. module_name.task_name.

classmethod from_key(key: str) pynenc.identifiers.task_id.TaskId[source]
__str__() str[source]