]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add Range.__contains__
authorFrazer McLean <frazer@frazermclean.co.uk>
Fri, 15 Nov 2024 18:07:00 +0000 (13:07 -0500)
committerFederico Caselli <cfederico87@gmail.com>
Fri, 15 Nov 2024 18:10:24 +0000 (19:10 +0100)
commit31975cfa38689dc0a45fe26d0563eb7b5b3bda6c
tree953e77856ea439821c79bcd07a56f8e21ed643c9
parent4c063e7df42a6a33182df2f9a49208358a7c00ff
Add Range.__contains__

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

### Description
Fixes #12093

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [ ] A documentation / typographical / small typing error fix
- Good to go, no issue or tests are needed
- [x] 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: #12094
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/12094
Pull-request-sha: 3f900e96b95c6dbd20ee6f5aa3f49dd6124ffba9

Change-Id: I4c3945eec6a931acd0a8c1682988c5f26e96a499
doc/build/changelog/unreleased_20/12093.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/ranges.py
test/dialect/postgresql/test_types.py