hiSandog opened a new pull request, #10551:
URL: https://github.com/apache/dolphinscheduler/pull/10551
Now when I define a Python task that requires importing resources via
python-gate.
I need to check the id of the resource in the database first.
And then I write code that looks something like this.
```
test_task = Python(
name="测试任务",
resource_list=[{"id": 64}, {"id": 65}, {"id": 66}, {"id": 67},
{"id": 68}],
code=base_info_py_code
)
```
resource_list should be allowed to be defined using the resource full-name
,like this
```
test_task = Python(
name="测试任务",
resource_list=["/abce/aa.py", "/abce/bb.py"],
code=base_info_py_code
)
```
close: #10486
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]