Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kalyan R <kalyan.ben10@live.com>
  • Loading branch information
prabhusneha and rawwar committed Nov 24, 2024
1 parent f709718 commit 5f2519f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/api_fastapi/core_api/routes/public/extra_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
@extra_links_router.get(
"",
responses=create_openapi_http_exception_doc(
[status.HTTP_401_UNAUTHORIZED, status.HTTP_403_FORBIDDEN, status.HTTP_404_NOT_FOUND]
[status.HTTP_404_NOT_FOUND]
),
)
async def get_extra_links(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def setup(self, test_client, session=None) -> None:
test_client.app.state.dag_bag = dag_bag
dag_bag.sync_to_db()

triggered_by_kwargs = {"triggered_by": DagRunTriggeredByType.TEST} if AIRFLOW_V_3_0_PLUS else {}
triggered_by_kwargs = {"triggered_by": DagRunTriggeredByType.TEST}

self.dag.create_dagrun(
run_id=self.dag_run_id,
Expand Down

0 comments on commit 5f2519f

Please sign in to comment.