Skip to content
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

Remove print from dag trigger command #30921

Merged
merged 1 commit into from
Apr 29, 2023

Conversation

pankajastro
Copy link
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