Skip to content

Commit

Permalink
Remove duplicate routers from the FastAPI app (apache#43962)
Browse files Browse the repository at this point in the history
`variables_router` and `dags_router` were duplicates
  • Loading branch information
kaxil authored Nov 13, 2024
1 parent be870f6 commit 27b9758
Show file tree
Hide file tree
Showing 8 changed files with 2,248 additions and 2,250 deletions.
1,378 changes: 689 additions & 689 deletions airflow/api_fastapi/core_api/openapi/v1-generated.yaml

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions airflow/api_fastapi/core_api/routes/public/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,22 @@
public_router = AirflowRouter(prefix="/public")


public_router.include_router(assets_router)
public_router.include_router(backfills_router)
public_router.include_router(dags_router)
public_router.include_router(connections_router)
public_router.include_router(dag_run_router)
public_router.include_router(dag_sources_router)
public_router.include_router(dag_stats_router)
public_router.include_router(dag_warning_router)
public_router.include_router(dags_router)
public_router.include_router(event_logs_router)
public_router.include_router(import_error_router)
public_router.include_router(monitor_router)
public_router.include_router(dag_warning_router)
public_router.include_router(plugins_router)
public_router.include_router(pools_router)
public_router.include_router(providers_router)
public_router.include_router(task_instances_router)
public_router.include_router(variables_router)
public_router.include_router(tasks_router)
public_router.include_router(variables_router)
public_router.include_router(version_router)
public_router.include_router(dag_stats_router)
public_router.include_router(xcom_router)
public_router.include_router(assets_router)
public_router.include_router(tasks_router)
Loading

0 comments on commit 27b9758

Please sign in to comment.