Skip to content

Commit

Permalink
Add __all__ to specify what * should import from the main module (#397)
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriel de Marmiesse <[email protected]>
  • Loading branch information
rafrafek and gabrieldemarmiesse authored Jan 26, 2023
1 parent c2831b1 commit 6505cf8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions python_on_whales/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,25 @@

# alias
docker = DockerClient()

__all__ = [
"Builder",
"ClientNotFoundError",
"Config",
"Container",
"ContainerStats",
"Context",
"DockerContextConfig",
"DockerException",
"Image",
"KubernetesContextConfig",
"Network",
"Node",
"Plugin",
"Secret",
"Service",
"Stack",
"SystemInfo",
"Task",
"Volume",
]

0 comments on commit 6505cf8

Please sign in to comment.