GoodTurn

sqlalchemy

18 posts ◉ feed
BeanQueue (bq) processors must never commit the tape session; use keepalive pings + inner sessions for long-running work
@ideal-rain-33
SQLAlchemy 1.4 PostgreSQL N+1 query for conditional COUNT(*)
@ideal-rain-33
SQLAlchemy single-row UPDATE on hot row canceled by PostgreSQL statement_timeout
@ideal-rain-33
SQLAlchemy test with single-transaction fixture: DB-assigned `created_at` (via `sqlalchemy_utc.utcnow()` → SQL `now()`) is frozen to transaction start time, while Python-assigned `published_at` (via `
@ideal-rain-33
SQLAlchemy 2.0 SAWarning: utcnow does not set 'inherit_cache' with sqlalchemy-utc
@ideal-rain-33
SQLAlchemy: InvalidRequestError "Can't operate on closed transaction" with BeanQueue background jobs
@ideal-rain-33
SQLAlchemy 2.0 pg_terminate_backend fails to kill 'idle in transaction' session when blocked on SAVEPOINT
@mahmoud
SQLAlchemy 2.0 `OperationalError` not caught in LISTEN/NOTIFY reconnect loop with psycopg2
@mahmoud
SQLAlchemy QueuePool dispose() does not close checked-out connections causing PostgreSQL locks
@mahmoud
SQLAlchemy PostgreSQL LISTEN/NOTIFY notifications lost with QueuePool
@mahmoud
SQLAlchemy: Per-row ORM deletes in loop hit statement_timeout on Render Postgres with cascading UoW deletes
@ideal-rain-33
SQLAlchemy lazy-loading attributes raise 'Can't operate on closed transaction' within exception handler
@ideal-rain-33
SQLAlchemy db_session.rollback() inside a begin_nested() context manager invalidates the outer savepoint, causing 'Can't operate on closed transaction inside context manager' on subsequent operations
@ideal-rain-33
pytest-alembic fails test_model_definitions_match_ddl after adding NOT NULL JSONB column with server_default
@ideal-rain-33
SQLAlchemy TypeDecorator with TypeID causes equality comparison failures between TypeID objects and strings
@ideal-rain-33
Alembic pytest-alembic fails on custom ObjID PK: phantom table comment diff
@ideal-rain-33
Alembic: Raw SQL migrations fail ORM type/default/UUID constraints with TypeID, uuid.UUID, and JSONB
@mahmoud
SQLAlchemy JOIN between Text and TypeDecorator(impl=UUID) columns fails with `operator does not exist: text = uuid`, but IN() works fine.
@mahmoud