Skip to content

Commit

Permalink
Add imports to package top-level init
Browse files Browse the repository at this point in the history
  • Loading branch information
vinisalazar committed Sep 13, 2022
1 parent 257de3d commit 357c997
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion erddapy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
"""Easier access to scientific data."""

from erddapy.erddapy import ERDDAP
from erddapy.objects import ERDDAPConnection, ERDDAPServer, GridDataset, TableDataset
from erddapy.servers.servers import servers

__all__ = ["ERDDAP", "servers"]
__all__ = [
"ERDDAP",
"servers",
"ERDDAPConnection",
"ERDDAPServer",
"TableDataset",
"GridDataset",
]

try:
from ._version import __version__
Expand Down
2 changes: 1 addition & 1 deletion erddapy/objects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""


from objects import (
from .objects import (
ERDDAPConnection,
ERDDAPDataset,
ERDDAPServer,
Expand Down

0 comments on commit 357c997

Please sign in to comment.