diff --git a/readme.md b/readme.md index 7ca523b..82c2037 100644 --- a/readme.md +++ b/readme.md @@ -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**