Skip to content

Commit f4266c4

Browse files
committed
Ensure submodules are directly available
This code worked: import scyjava print(scyjava.config) But this code didn't: import scyjava print(scyjava.inspect) Because scyjava.config was being imported in another file further down the chain. Better to be explicit about wanting both of these submodules available at the top level.
1 parent 2f11f0d commit f4266c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scyjava/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
from functools import lru_cache
7272
from typing import Any, Callable, Dict
7373

74+
from . import config, inspect
7475
from ._arrays import is_arraylike, is_memoryarraylike, is_xarraylike
7576
from ._convert import (
7677
Converter,

0 commit comments

Comments
 (0)