Skip to content

Commit

Permalink
Remove async keyword for Get Connection
Browse files Browse the repository at this point in the history
  • Loading branch information
omkar-foss committed Nov 8, 2024
1 parent bc1d210 commit 8972628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/api_fastapi/execution_api/routes/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_task_token() -> datamodels.TIToken:
status.HTTP_403_FORBIDDEN: {"description": "Task does not have access to the connection"},
},
)
async def get_connection(
def get_connection(
connection_id: str,
token: Annotated[datamodels.TIToken, Depends(get_task_token)],
) -> datamodels.ConnectionResponse:
Expand Down

0 comments on commit 8972628

Please sign in to comment.