]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Merge branch 'c-dumpers'
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 22 Nov 2020 17:44:20 +0000 (17:44 +0000)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 22 Nov 2020 17:44:20 +0000 (17:44 +0000)
1  2 
psycopg3/psycopg3/__init__.py
tools/update_errors.py

index c10859f52f6c956445c97745b7e43c47929e0ac7,f0c8a121d7f53cf6f91c9d624c30400e3ca6d7e2..05674fbcd8e532a0fe112e5dc18523ffef199587
@@@ -33,22 -33,4 +33,22 @@@ paramstyle = "pyformat
  if pq.__impl__ == "c":
      from psycopg3_c import _psycopg3
  
-     _psycopg3.register_builtin_c_loaders()
+     _psycopg3.register_builtin_c_adapters()
 +
 +
 +# Note: defining the exported methods helps both Sphynx in documenting that
 +# this is the canonical place to obtain them and should be used by MyPy too,
 +# so that function signatures are consistent with the documentation.
 +__all__ = [
 +    "AsyncConnection",
 +    "AsyncCopy",
 +    "AsyncCursor",
 +    "AsyncTransaction",
 +    "Column",
 +    "Connection",
 +    "Copy",
 +    "Cursor",
 +    "Notify",
 +    "Rollback",
 +    "Transaction",
 +]
Simple merge