apache / apache/dolphinscheduler-sdk-python
[impv] Add a unified field conversion method to convert python fields to java fields
Open
- Dominant language
- Python
- Stars
- 71
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
There are many convert function in Task class
```shell
timeout
timeout_flag
is_cache
resource_list
environment_code
```
I think we can a better way to deal with it
Contributor guide
Research direction
Start by locating the Task class and reviewing its existing conversion functions for timeout, timeout_flag, is_cache, resource_list, and environment_code. Compare how these fields are converted and identify the shared behavior. The issue does not define the unified method's interface or provide tests, so the expected completion criteria need clarification before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100