Skip to content

Commit

Permalink
fix import create_middleware_and_session_proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Shershen committed Jan 17, 2025
1 parent 5b36546 commit a76b7bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Provides SQLAlchemy middleware for FastAPI using AsyncSession and async engine.
### Install

```bash
pip install fastapi-async-sqlalchemy
pip install fastapi-async-sqlalchemy
```


Expand Down
10 changes: 7 additions & 3 deletions fastapi_async_sqlalchemy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from fastapi_async_sqlalchemy.middleware import SQLAlchemyMiddleware, db
from fastapi_async_sqlalchemy.middleware import (
SQLAlchemyMiddleware,
db,
create_middleware_and_session_proxy,
)

__all__ = ["db", "SQLAlchemyMiddleware"]
__all__ = ["db", "SQLAlchemyMiddleware", "create_middleware_and_session_proxy"]

__version__ = "0.7.0.dev3"
__version__ = "0.7.0.dev4"

0 comments on commit a76b7bb

Please sign in to comment.