arbitrarily to :class:`_schema.Sequence` previously. The fix allows
:class:`_schema.Sequence` to work in all ``.execute()`` methods including
with :meth:`_orm.Session.execute` which was not working in the case that a
- ``do_orm_execute()`` handler was also established.
+ :meth:`_orm.SessionEvents.do_orm_execute` handler was also established.
:tickets: 6680
Fixed regression in ORM regarding an internal reconstitution step for the
- func:`_orm.with_polymorphic` construct, when the user-facing object is
+ :func:`_orm.with_polymorphic` construct, when the user-facing object is
garbage collected as the query is processed. The reconstitution was not
ensuring the sub-entities for the "polymorphic" case were handled, leading
to an ``AttributeError``.
"_query": "sqlalchemy.orm",
"_ormevent": "sqlalchemy.orm.event",
"_ormexc": "sqlalchemy.orm.exc",
+ "_roles": "sqlalchemy.sql.roles",
"_baked": "sqlalchemy.ext.baked",
"_horizontal": "sqlalchemy.ext.horizontal_shard",
"_associationproxy": "sqlalchemy.ext.associationproxy",