Re-apply changes on top of latest main to resolve merge conflicts. - Add DatabaseLockNotAvailableError custom exception in orm/errors.py - Catch asyncpg LockNotAvailableError and pgcode 55P03 in _handle_dbapi_error - Register FastAPI exception handler returning 409 with Retry-After header 🐾 Generated with [Letta Code](https://letta.com) Co-authored-by: letta-code <248085862+letta-code@users.noreply.github.com> Co-authored-by: Letta <noreply@letta.com>
1.3 KiB
1.3 KiB