Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dstandish committed Nov 20, 2024
1 parent c0a7cd0 commit 74cbd14
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions airflow/api_fastapi/common/db/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ def your_route(session: Annotated[Session, Depends(get_session)]):
yield session


async def get_async_session() -> Session:
async def get_async_session() -> AsyncSession:
"""
Dependency for providing a session.
For non route function please use the :class:`airflow.utils.session.provide_session` decorator.
Example usage:
.. code:: python
Expand Down

0 comments on commit 74cbd14

Please sign in to comment.