-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature][python] Add example about multi line shell #8955
[Feature][python] Add example about multi line shell #8955
Comments
Hi:
|
And also string format |
better to add parameter for our example |
@zhongjiajie sir please assign this issue to me, I will try my best to solve it, also can you just summarise what exactly I have to do as some of the links are not updated mentioned in this issue, it would be really helpful. |
@zhongjiajie Sir, as I can understand from whatever information is provided that the DolphinScheduler documentation needs to be updated to include a detailed example illustrating how to create and execute a multi-line shell task within a Python context. This goes beyond the existing single-line examples, emphasizing the need to showcase more complex scenarios where shell commands or tasks in Python might extend over multiple lines of code. Am I right in comprehending this, if not then please specify anything which needs to be rectified along with this. |
Hi @HarshitNagpal29, sorry for replying late, we should submit the change to https://github.com/apache/dolphinscheduler-sdk-python. for more specific line are those lines https://github.com/apache/dolphinscheduler-sdk-python/blob/e04b836e54fb7bfd96527007cfeaa0fef4444b07/src/pydolphinscheduler/examples/tutorial.py#L51-L54 we should pick one of those task and change them as multiple lines shell example |
@zhongjiajie No problem Sir , I have created pull request again in https://github.com/apache/dolphinscheduler-sdk-python as you said, please check it and let me know if I have to make more changes in that. |
Search before asking
Description
In all our examples in https://dolphinscheduler.apache.org/python/tasks/shell.html#example are single line. we should add example about how to create shell task in multiple lines
Use case
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: