Python

Task Python.

class pydolphinscheduler.tasks.python.Python(name: str, code: Any, *args, **kwargs)[source]

Bases: Task

Task Python object, declare behavior for Python task to dolphinscheduler.

_downstream_task_codes: Set[int]
_task_custom_attr: set = {'raw_script'}
_task_relation: Set[TaskRelation]
_upstream_task_codes: Set[int]
property raw_script: str

Get python task define attribute raw_script.