]> 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 13:18:41 +0000 (13:18 +0000)
commit4878ede0d921bb03758b0c79293bf23b6e248c49
treecc238eb6b40283859ec90999ba5c844a254519be
parent81dd922cf79f4df0eafceb2e5092915d79d72853
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
(cherry picked from commit ff97b9ab5e59283f684edac9a075702c43e8a4c1)
doc/build/orm/contextual.rst
lib/sqlalchemy/ext/asyncio/session.py
lib/sqlalchemy/orm/session.py