Skip to content

Commit

Permalink
Add container.close message
Browse files Browse the repository at this point in the history
  • Loading branch information
maldoinc committed Oct 19, 2024
1 parent af7de09 commit 211b122
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def db_session_factory(db_session: Session) -> Iterator[Session]:
yield sess
```

*Note*: If you use generator factories, call `container.close()` on termination for the necessary
cleanup to take place.


**3. Use**

Expand Down

0 comments on commit 211b122

Please sign in to comment.