Skip to content

Commit 0a8378b

Browse files
committed
tweak to import logic for better support on python 3.10
1 parent 8e1197f commit 0a8378b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pycds/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474
from pycds.context import get_schema_name, get_su_role_name
7575
from pycds.util import schema_func, variable_tags
7676

77+
# Import database module to make it accessible as pycds.database for mocking in tests
78+
from pycds import database as database
79+
7780
from .orm.tables import (
7881
Base,
7982
Network,

0 commit comments

Comments
 (0)