summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-05-10 11:08:07 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2023-05-10 15:24:11 -0400
commit189039b9d38343b482f1b077bbcf6f6ae99cbacd (patch)
treea4f853e10dd00ae2de18e8a32139b925dfcbd2c5 /doc
parent987285fb4b13c39bcc6b8922e618d9e830577dda (diff)
downloadsqlalchemy-189039b9d38343b482f1b077bbcf6f6ae99cbacd.tar.gz
add full parameter types for ORM with_for_update
Fixed typing for the :paramref:`_orm.Session.get.with_for_update` parameter of :meth:`_orm.Session.get` and :meth:`_orm.Session.refresh` (as well as corresponding methods on :class:`_asyncio.AsyncSession`) to accept boolean ``True`` and all other argument forms accepted by the parameter at runtime. Fixes: #9762 Change-Id: Ied4d37a269906b3d9be5ab7d31a2fa863360cced
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/unreleased_20/9762.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_20/9762.rst b/doc/build/changelog/unreleased_20/9762.rst
new file mode 100644
index 000000000..9906bfb5f
--- /dev/null
+++ b/doc/build/changelog/unreleased_20/9762.rst
@@ -0,0 +1,8 @@
+.. change::
+ :tags: bug, typing
+ :tickets: 9762
+
+ Fixed typing for the :paramref:`_orm.Session.get.with_for_update` parameter
+ of :meth:`_orm.Session.get` and :meth:`_orm.Session.refresh` (as well as
+ corresponding methods on :class:`_asyncio.AsyncSession`) to accept boolean
+ ``True`` and all other argument forms accepted by the parameter at runtime.