From 6771f7b21ed281c898ab4faad7decc0aab087bba Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Fri, 16 Oct 2026 22:19:30 +0300 Subject: [PATCH] docs: link projects that use the Transaction use-case shape --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8ede908..d7b566c 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,12 @@ class CreateEventUseCase: return event ``` +These projects use this use-case shape in full, with `pool_pre_ping` off and `postgres_retry` handling connections that died while idle in the pool: + +- [fastapi-sqlalchemy-template](https://github.com/modern-python/fastapi-sqlalchemy-template/tree/main/app/use_cases) +- [litestar-sqlalchemy-template](https://github.com/modern-python/litestar-sqlalchemy-template/tree/main/app/use_cases) +- [chat-app](https://github.com/modern-python/chat-app/tree/main/app/use_cases) + ### 4. Serializable transactions Use the serializable isolation level to prevent race conditions: