From b544edb43231d58f55ac363b825667f1b0b3b548 Mon Sep 17 00:00:00 2001 From: tr4nt0r <4445816+tr4nt0r@users.noreply.github.com> Date: Tue, 10 Jun 2025 17:26:12 +0200 Subject: [PATCH] Make explicit imports and add `__all__` to `__init__.py` --- pyuptimekuma/__init__.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pyuptimekuma/__init__.py b/pyuptimekuma/__init__.py index 54c0e00..5a548b7 100644 --- a/pyuptimekuma/__init__.py +++ b/pyuptimekuma/__init__.py @@ -1,7 +1,20 @@ """Python API wrapper for Uptime Kuma.""" -from .exceptions import * -from .models import * +from .exceptions import ( + UptimeKumaAuthenticationException, + UptimeKumaConnectionException, + UptimeKumaException, +) +from .models import MonitorType, UptimeKumaApiResponse, UptimeKumaMonitor from .uptimekuma import UptimeKuma __version__ = '0.0.0' +__all__ = [ + "MonitorType", + "UptimeKuma", + "UptimeKumaApiResponse", + "UptimeKumaAuthenticationException", + "UptimeKumaConnectionException", + "UptimeKumaException", + "UptimeKumaMonitor", +] \ No newline at end of file