apache / apache/dolphinscheduler-sdk-python

[impv] Add a unified field conversion method to convert python fields to java fields

Open
#51 1 comment 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.