Skip to content

Remove print from dag trigger command#30921

Merged
potiuk merged 1 commit intoapache:mainfrom
astronomer:remove_print_from_trigger_dag_cmd
Apr 29, 2023
Merged

Remove print from dag trigger command#30921
potiuk merged 1 commit intoapache:mainfrom
astronomer:remove_print_from_trigger_dag_cmd

Conversation

@pankajastro
Copy link
Copy Markdown
Member

Recently, we added output format arg in airflow dag trigger <dag_id> command
because of that, we are getting the result twice in the console.
first because of old print statements and 2nd because of AirflowConsole().print_as.
I feel we should remove the print statement now.

before
Screenshot 2023-04-27 at 11 44 13 PM

after
Screenshot 2023-04-27 at 11 44 40 PM


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@pankajastro pankajastro changed the title Remove print from dad trigger command Remove print from dag trigger command Apr 27, 2023
@pankajastro pankajastro force-pushed the remove_print_from_trigger_dag_cmd branch from cd4803f to 3f2edcd Compare April 27, 2023 18:24
@pankajastro pankajastro force-pushed the remove_print_from_trigger_dag_cmd branch from 3f2edcd to 8939ab1 Compare April 27, 2023 18:44
@potiuk potiuk added this to the Airflow 2.6.1 milestone Apr 29, 2023
@potiuk potiuk merged commit 36fe6d0 into apache:main Apr 29, 2023
@pankajastro pankajastro deleted the remove_print_from_trigger_dag_cmd branch May 3, 2023 11:20
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label May 8, 2023
ephraimbuddy pushed a commit that referenced this pull request May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CLI type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants