Skip to content

added multiple lines shell example#133

Merged
zhongjiajie merged 2 commits intoapache:mainfrom
HarshitNagpal29:multi-line-example
Jan 14, 2024
Merged

added multiple lines shell example#133
zhongjiajie merged 2 commits intoapache:mainfrom
HarshitNagpal29:multi-line-example

Conversation

@HarshitNagpal29
Copy link
Copy Markdown
Contributor

@HarshitNagpal29 HarshitNagpal29 commented Jan 12, 2024

fix: apache/dolphinscheduler#8955

Brief Summary of The Change

Pull Request checklist

I confirm that the following checklist has been completed.

  • Add/Change test cases for the changes.
  • Add/Change the related documentation, should also change docs/source/config.rst when you change file default_config.yaml.
  • (Optional) Add your change to UPDATING.md when it is an incompatible change.

@HarshitNagpal29
Copy link
Copy Markdown
Contributor Author

HarshitNagpal29 commented Jan 12, 2024

@ zhongjiajie please review it once. I have made changes in shell task also added parameter for our example and string formatting as well.

Copy link
Copy Markdown
Member

@zhongjiajie zhongjiajie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @HarshitNagpal29 we should not format the string via python format, we should use https://dolphinscheduler.apache.org/en-us/docs/3.2.0/guide/parameter/local mechanism to do that, because we have some dynamic parameter like $[yyyy-MM-dd] for executing date

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.93%. Comparing base (e04b836) to head (a6b5e29).
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #133   +/-   ##
=======================================
  Coverage   90.93%   90.93%           
=======================================
  Files          64       64           
  Lines        2361     2361           
=======================================
  Hits         2147     2147           
  Misses        214      214           
Flag Coverage Δ
unittests 90.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zhongjiajie zhongjiajie added the improvement Improve exists function label Jan 14, 2024
@zhongjiajie zhongjiajie merged commit b15c716 into apache:main Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improve exists function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature][python] Add example about multi line shell

3 participants