]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Register composite dumper if the factory is a type
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 26 Aug 2021 15:24:26 +0000 (17:24 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 26 Aug 2021 18:46:41 +0000 (20:46 +0200)
commit01655037bb42244ba9dbbc08111f2e359689df4a
tree0e01c738965adf620f523ed8af4358e751798c25
parentaa4a1c3abd328fd86131d43477e0fdfc58c1e2e4
Register composite dumper if the factory is a type

Expose the type as info.python_type after registering.
psycopg/psycopg/_typeinfo.py
psycopg/psycopg/types/composite.py
tests/types/test_composite.py