diff --git a/src/pg8000/native.py b/src/pg8000/native.py index 1f3750c..76d7370 100644 --- a/src/pg8000/native.py +++ b/src/pg8000/native.py @@ -257,6 +257,7 @@ def close(self): "BYTES", "CHAR", "CHAR_ARRAY", + "Connection", "DATE", "DatabaseError", "Error", diff --git a/test/native/test_import_all.py b/test/native/test_import_all.py new file mode 100644 index 0000000..f1a731d --- /dev/null +++ b/test/native/test_import_all.py @@ -0,0 +1,5 @@ +from pg8000.native import * # noqa: F403 + + +def test_import_all(): + type(Connection) # noqa: F405