Skip to content

Commit 14649d3

Browse files
committed
fix(import): relative import and explicit __all__ for package correctness
1 parent 1a70cef commit 14649d3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎currentsapi/__init__.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
__version__ = "0.1.0"
55
__repo__ = "https://github.com/currentslab/currentsapi-python"
66

7-
from currentsapi.client import CurrentsAPI
7+
from .client import CurrentsAPI
8+
9+
__all__ = ["CurrentsAPI"]
810

911

1012
def print_version():

0 commit comments

Comments
 (0)