]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add intersection method to Range class
authorYurii Karabas <1998uriyyo@gmail.com>
Fri, 14 Apr 2023 17:37:40 +0000 (13:37 -0400)
committersqla-tester <sqla-tester@sqlalchemy.org>
Fri, 14 Apr 2023 17:37:40 +0000 (13:37 -0400)
commit609f432563954167b8f0148e43c70c08380e8ba4
treeaa803817ae45a8ce68805cb7ffddb6c62a2c8aed
parent6f3c741e41e13624d63f4faa4bdcec8466bda7f4
Add intersection method to Range class

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

### Description
Fixes: #9509
<!-- Describe your changes in detail -->

### 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 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.
- [x] 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: #9510
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/9510
Pull-request-sha: 596648e7989327eef1807057519b2295b48f1adf

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