]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed the ``.python_type`` attribute of :class:`.postgresql.INTERVAL`
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Nov 2015 20:10:46 +0000 (15:10 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Nov 2015 20:10:46 +0000 (15:10 -0500)
commit29d6f6e19b014bb5ce79032bd8803e32b4da0e5e
treeb74504b6ce93c41f40d9644a5b5bae6bf8e5a99c
parente8c2e4a1799477fd0677af268e85754aecd390e8
- Fixed the ``.python_type`` attribute of :class:`.postgresql.INTERVAL`
to return ``datetime.timedelta`` in the same way as that of
:obj:`.types.Interval.python_type`, rather than raising
``NotImplementedError``.
fixes #3571
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_types.py