summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/json.py
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2022-04-18 13:07:19 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-04-21 09:51:28 -0400
commit408c936c77c6aaeceab0e0b001ed745ceb9d19d4 (patch)
tree3f2508b46b206cd5f2e06cbd4490e46438f24da8 /lib/sqlalchemy/dialects/postgresql/json.py
parenta8b2fbb55c6de302b053b4309c6e53cd7f748448 (diff)
downloadsqlalchemy-408c936c77c6aaeceab0e0b001ed745ceb9d19d4.tar.gz
Implement UUID.python_type
Implemented :attr:`_postgresql.UUID.python_type` attribute for the :class:`_postgresql.UUID` type object. The attribute will return either ``str`` or ``uuid.UUID`` based on the :paramref:`_postgresql.UUID.as_uuid` parameter setting. Previously, this attribute was unimplemented. Pull request courtesy Alex Grönholm. Fixes: #7943 Closes: #7944 Change-Id: Ic4fbaeee134d586b08339801968e787cc7e14285
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/json.py')
0 files changed, 0 insertions, 0 deletions