]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add separate version notes for scalars
authorGrey Li <withlihui@gmail.com>
Sun, 26 Feb 2023 10:56:37 +0000 (05:56 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 27 Feb 2023 04:04:35 +0000 (23:04 -0500)
commitff97b9ab5e59283f684edac9a075702c43e8a4c1
treeece7781f8715ba3dc120dd84a59e9e4ffd4bcd6a
parent16d3dad4490fc4915096b7963f21e6b591b15ba7
Add separate version notes for scalars

Add separate 1.4.24 and 1.4.26 version notes for the .scalars method;
this covers Session, scoped_session, AsyncSession, async_scoped_session
as the "scoped" versions did not have the method added until 1.4.26
as part of :ticket:`7103`.

Also indicate scoped_session as ``sqlalchemy.orm.scoped_session`` in
docs rather than ``sqlalchemy.orm.scoping.scoped_session``.  This is
also happening in I77da54891860095edcb1f0625ead99fee89bd76f separately,
as both changesets refer to scoped_session without using ".scoping".

References: #7103
Closes: #9371
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/9371
Pull-request-sha: 61132230cc6e897ab61beff25d98b19a4c0aefd0

Change-Id: I84c8b1aad752db124cfee6bc8516f6eed7ba2faf
doc/build/orm/contextual.rst
lib/sqlalchemy/ext/asyncio/scoping.py
lib/sqlalchemy/ext/asyncio/session.py
lib/sqlalchemy/orm/scoping.py
lib/sqlalchemy/orm/session.py