Skip to content

Commit b544edb

Browse files
committed
Make explicit imports and add __all__ to __init__.py
1 parent a49a615 commit b544edb

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

pyuptimekuma/__init__.py

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
"""Python API wrapper for Uptime Kuma."""
2-
from .exceptions import *
3-
from .models import *
2+
from .exceptions import (
3+
UptimeKumaAuthenticationException,
4+
UptimeKumaConnectionException,
5+
UptimeKumaException,
6+
)
7+
from .models import MonitorType, UptimeKumaApiResponse, UptimeKumaMonitor
48
from .uptimekuma import UptimeKuma
59

610
__version__ = '0.0.0'
711

12+
__all__ = [
13+
"MonitorType",
14+
"UptimeKuma",
15+
"UptimeKumaApiResponse",
16+
"UptimeKumaAuthenticationException",
17+
"UptimeKumaConnectionException",
18+
"UptimeKumaException",
19+
"UptimeKumaMonitor",
20+
]

0 commit comments

Comments
 (0)