RootCauseunvalidated
With expire_on_commit=True (the default), ALL attributes are expired after commit — In SQLAlchemy async mode. Tension: implicit lazy loading is NOT supported. Outcome: it raises DetachedInstanceError because the IO operation cannot happen synchronously.
511d20a3-56c6-4727-b6e1-56a2968c663a
With expire_on_commit=True (the default), ALL attributes are expired after commit — In SQLAlchemy async mode. Tension: implicit lazy loading is NOT supported. Outcome: it raises DetachedInstanceError because the IO operation cannot happen synchronously.