Skip to content

Commit

Permalink
Include pg8000.native.Connection in import *
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 authored and tlocke committed Aug 25, 2024
1 parent 0a75f1c commit b30177e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pg8000/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ def close(self):
"BYTES",
"CHAR",
"CHAR_ARRAY",
"Connection",
"DATE",
"DatabaseError",
"Error",
Expand Down
5 changes: 5 additions & 0 deletions test/native/test_import_all.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from pg8000.native import * # noqa: F403


def test_import_all():
type(Connection) # noqa: F405

0 comments on commit b30177e

Please sign in to comment.