Skip to content

Commit

Permalink
update integrations examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lesnik512 committed Nov 11, 2024
1 parent 2f98032 commit 84c3761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/integrations/fastapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

*More advanced example of usage with FastAPI - [fastapi-sqlalchemy-template](https://github.com/modern-python/fastapi-sqlalchemy-template)*

1. Install `modern-di-fastapi` package from PYPI: `uv add modern-di-fastapi` or `pip install modern-di-fastapi`, etc.
2. Apply this code example to your application:
```python
import datetime
import contextlib
Expand Down
2 changes: 2 additions & 0 deletions docs/integrations/litestar.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

*More advanced example of usage with LiteStar - [litestar-sqlalchemy-template](https://github.com/modern-python/litestar-sqlalchemy-template)*

1. Install `modern-di-litestar` package from PYPI: `uv add modern-di-litestar` or `pip install modern-di-litestar`, etc.
2. Apply this code example to your application:
```python
import contextlib
import datetime
Expand Down

0 comments on commit 84c3761

Please sign in to comment.