]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix typo in Session.get_one() docs
authorJens Troeger <jens.troeger@light-speed.de>
Sat, 7 Oct 2023 06:48:29 +0000 (02:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 10 Oct 2023 00:23:29 +0000 (20:23 -0400)
commit890fd0cd363a0c06b780e54751fae468a9926abe
treefb43bc21de9712cc18ecfcf814f650007dd44ab5
parentc5d89aad3634a40e5d067c8df97bb7f775983e02
Fix typo in Session.get_one() docs

<!-- Provide a general summary of your proposed changes in the Title field above -->

A typo in the docstrings [here](https://docs.sqlalchemy.org/en/20/orm/session_api.html#sqlalchemy.orm.Session.get_one) shows the incorrectly formatted text:

![Screenshot 2023-10-07 at 16 24 19](https://github.com/sqlalchemy/sqlalchemy/assets/12053937/95cbfbfa-dac3-465a-8e27-ec8e2a223117)

This pull request is:

- [X] A documentation / typographical / small typing error fix
- Good to go, no issue or tests are needed
- [ ] A short code fix
- please include the issue number, and create an issue if none exists, which
  must include a complete example of the issue.  one line code fixes without an
  issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.   one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
  include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.

**Have a nice day!**

Closes: #10437
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/10437
Pull-request-sha: 82ef25ecbc5b39487b5b55bedb43df9c2a57ae2e

Change-Id: I4ae54733c4bd63239fc94a7fd2099bb3896718ca
lib/sqlalchemy/orm/scoping.py
lib/sqlalchemy/orm/session.py