Skip to content

Commit

Permalink
fix styling of the dag_run_endpoint.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
karakanb committed Jan 15, 2024
1 parent 60b6492 commit 6b93bdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions airflow/api_connexion/endpoints/dag_run_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ def post_dag_run(*, dag_id: str, session: Session = NEW_SESSION) -> APIResponse:
try:
dag = get_airflow_app().dag_bag.get_dag(dag_id)

data_interval_start_exists = post_body.get('data_interval_start') is not None
data_interval_end_exists = post_body.get('data_interval_end') is not None
data_interval_start_exists = post_body.get("data_interval_start") is not None
data_interval_end_exists = post_body.get("data_interval_end") is not None

if (
data_interval_start_exists
and not data_interval_end_exists
Expand Down

0 comments on commit 6b93bdd

Please sign in to comment.