]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Make the row_maker non-optional
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 24 Feb 2021 14:23:23 +0000 (15:23 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 24 Feb 2021 14:23:23 +0000 (15:23 +0100)
commit60918645a6333c3d47eeac90482600810288b24c
tree2fd195ad8508f57a62dde9ec4908425a8891ea79
parentb423af48ce7568f2f4d54dcbfe3d389c46d36372
Make the row_maker non-optional

Use the `tuple` type as return value for `tuple_row()`, which has a
valid interface and can also be used in the Cython code to fast-path the
case where the tuples created internally are good enough.
psycopg3/psycopg3/_transform.py
psycopg3/psycopg3/proto.py
psycopg3/psycopg3/rows.py
psycopg3_c/psycopg3_c/_psycopg3.pyi
psycopg3_c/psycopg3_c/_psycopg3/transform.pyx