8000 Ensure submodules are directly available · scijava/scyjava@f4266c4 · GitHub
[go: up one dir, main page]

Skip to content
< 10000 header class="HeaderMktg header-logged-out js-details-container js-header Details f4 py-3" role="banner" data-is-top="true" data-color-mode=light data-light-theme=light data-dark-theme=dark>

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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)
0