]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add impl property to PostgreSQL / Oracle INTERVAL class
authorMajorDallas <79329882+MajorDallas@users.noreply.github.com>
Tue, 22 Jun 2021 19:34:09 +0000 (15:34 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 22 Jun 2021 22:01:33 +0000 (18:01 -0400)
commitac20c3d34bf0127972acae8c712b98b1187b98f9
tree3b515b81bc5745512c365aeaa97877e7c89225ad
parenta84881e1b7505c3ffb9b9f0ac2b227cbd650aac2
Add impl property to PostgreSQL / Oracle INTERVAL class

Fixed issue where the ``INTERVAL`` datatype on PostgreSQL and Oracle would
produce an ``AttributeError`` when used in the context of a comparison
operation against a ``timedelta()`` object. Pull request courtesy
MajorDallas.

Fixes: #6649
Closes: #6650
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/6650
Pull-request-sha: dd217a975e5f0d3157e81c731791225b6a32889f

Change-Id: I773caf2673294fdb3c92b42895ad714e944d1bf8
doc/build/changelog/unreleased_14/6649.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/base.py
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/oracle/test_types.py
test/dialect/postgresql/test_types.py