src/pydolphinscheduler/core/task.py [157:184]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(
        self,
        name: str,
        task_type: str,
        description: str | None = None,
        flag: str | None = TaskFlag.YES,
        task_priority: str | None = TaskPriority.MEDIUM,
        worker_group: str | None = configuration.WORKFLOW_WORKER_GROUP,
        environment_name: str | None = None,
        task_group_id: int | None = 0,
        task_group_priority: int | None = 0,
        delay_time: int | None = 0,
        fail_retry_times: int | None = 0,
        fail_retry_interval: int | None = 1,
        timeout_notify_strategy: str | None = None,
        timeout: timedelta | int | None = None,
        workflow: Workflow | None = None,
        resource_list: list | None = None,
        dependence: dict | None = None,
        wait_start_timeout: dict | None = None,
        condition_result: dict | None = None,
        resource_plugin: ResourcePlugin | None = None,
        is_cache: bool | None = False,
        input_params: dict | None = None,
        output_params: dict | None = None,
        *args,
        **kwargs,
    ):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/pydolphinscheduler/core/task.py [634:661]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __init__(
        self,
        name: str,
        task_type: str,
        description: str | None = None,
        flag: str | None = TaskFlag.YES,
        task_priority: str | None = TaskPriority.MEDIUM,
        worker_group: str | None = configuration.WORKFLOW_WORKER_GROUP,
        environment_name: str | None = None,
        task_group_id: int | None = 0,
        task_group_priority: int | None = 0,
        delay_time: int | None = 0,
        fail_retry_times: int | None = 0,
        fail_retry_interval: int | None = 1,
        timeout_notify_strategy: str | None = None,
        timeout: timedelta | int | None = None,
        workflow: Workflow | None = None,
        resource_list: list | None = None,
        dependence: dict | None = None,
        wait_start_timeout: dict | None = None,
        condition_result: dict | None = None,
        resource_plugin: ResourcePlugin | None = None,
        is_cache: bool | None = False,
        input_params: dict | None = None,
        output_params: dict | None = None,
        *args,
        **kwargs,
    ):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



