fastapi-sqlalchemy icon indicating copy to clipboard operation
fastapi-sqlalchemy copied to clipboard

Adds simple SQLAlchemy support to FastAPI

Results 23 fastapi-sqlalchemy issues
Sort by recently updated
recently updated
newest added

Whilst transitioning our stack to FastAPI I luckily found this package. Thanks for the work on this package; it's a nice and easy way to get a DB connection without...

Hi, I have added fastapi-sqlalchemy to my app and it runs well if I start from main.py, where ``` app.add_middleware(DBSessionMiddleware, db_url=settings.DATABASE_RUL) ``` is added. Now I am trying to build...

The README example uses an in-memory SQLite database, which actually doesn't work properly off the bat. It would be better if the README contained a more complete example, at least...

How does the library use asynchronous mode? Below is the code I tried, but it not work. ```python from fastapi import FastAPI from fastapi_sqlalchemy import DBSessionMiddleware # middleware helper from...

`@router.get("/metaEvents/{event_id}") async def get_one( event_id: int, db: Session = Depends(deps.get_db), ):`

Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.52.0 to 0.65.2. Release notes Sourced from fastapi's releases. 0.65.2 Security fixes 🔒 Check Content-Type request header before assuming JSON. Initial PR #2118 by @​patrickkwang. This change...

dependencies

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.6 to 1.26.5. Release notes Sourced from urllib3's releases. 1.26.5 :warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap Fixed...

dependencies

Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 0.32.2 to 1.6.2. Release notes Sourced from pydantic's releases. v1.6.2 (2021-05-11) Security fix: Fix date and datetime parsing so passing either 'infinity' or float('inf') (or their negative...

dependencies

Bumps [py](https://github.com/pytest-dev/py) from 1.8.0 to 1.10.0. Changelog Sourced from py's changelog. 1.10.0 (2020-12-12) Fix a regular expression DoS vulnerability in the py.path.svnwc SVN blame functionality (CVE-2020-29651) Update vendored apipkg: 1.4...

dependencies