apache / dolphinscheduler-sdk-python

Apache DolphinScheduler Python API, aka PyDolphinscheduler.
https://dolphinscheduler.apache.org/python/main
Apache License 2.0
50 stars 18 forks source link

The timeout types of workflow and task parameters are inconsistent #122

Closed lukeyan2023 closed 8 months ago

lukeyan2023 commented 9 months ago

The workflow parameter timeout is of type int, but the task parameter timeout is timedelta.

And the parameter timeout of the task cannot support defining tasks in yaml for the current type timedelta.

image

image

I plan to set the timeout type to Union [timedelta, int], which not only unifies the timeout type but also conveniently supports defining tasks in Python and YAML

lukeyan2023 commented 9 months ago

Please assign this issue to me @zhongjiajie