psycopg.git / summary / log / commit / refs

commit    b6fff9b5cbe816cbb7ee6e9fb5ff04491dfba321
Author:   Daniele Varrazzo <daniele.varrazzo@gmail.com>
Date:     Sat Jun 26 02:11:27 2021 +0000

    Merge branch 'types-reorg'


docs/advanced/adapt.rst | 2 +- docs/api/types.rst | 6 +- docs/basic/adapt.rst | 9 +- psycopg3/psycopg3/types/__init__.py | 362 ++------------------- psycopg3/psycopg3/types/array.py | 5 + bool.py} | 25 +- psycopg3/psycopg3/types/composite.py | 8 +- datetime.py} | 43 ++- psycopg3/psycopg3/types/json.py | 13 + net.py} | 19 ++ psycopg3/psycopg3/types/none.py | 28 ++ psycopg3/psycopg3/types/numeric.py | 80 ++++- psycopg3/psycopg3/types/range.py | 31 +- string.py} | 36 +- psycopg3/psycopg3/types/uuid.py | 7 + psycopg3/psycopg3/wrappers/__init__.py | 0 psycopg3/psycopg3/wrappers/numeric.py | 30 -- psycopg3_c/psycopg3_c/_psycopg3.pyx | 6 +- bool.pyx} | 0 datetime.pyx} | 20 +- psycopg3_c/psycopg3_c/types/numeric.pyx | 2 +- string.pyx} | 8 +- tests/fix_faker.py | 2 +- tests/test_adapt.py | 29 +- tests/test_copy.py | 10 +- test_bool.py} | 0 tests/types/test_composite.py | 2 +- test_datetime.py} | 2 +- tests/types/test_json.py | 11 +- test_net.py} | 0 tests/types/test_none.py | 12 + tests/types/test_range.py | 2 +- test_string.py} | 0 33 files changed, 358 insertions(+), 452 deletions(-) [parent: 56b68ec1d70f]