Skip to content

Commit

Permalink
Remove async keyword for Get Connection (apache#43836)
Browse files Browse the repository at this point in the history
  • Loading branch information
omkar-foss authored Nov 8, 2024
1 parent a212bf8 commit 6c30fc5
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 6c30fc5

Please sign in to comment.