pythonkuma 0.0.0rc3__tar.gz → 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pythonkuma
3
- Version: 0.0.0rc3
3
+ Version: 0.1.0
4
4
  Summary: Simple Python wrapper for Uptime Kuma
5
5
  Project-URL: Source, https://github.com/tr4nt0r/pythonkuma
6
6
  Author-email: Manfred Dennerlein Rodelo <manfred@dennerlein.name>, Jayakorn Karikan <jayakornk@gmail.com>
@@ -8,7 +8,7 @@ from .exceptions import (
8
8
  from .models import MonitorStatus, MonitorType, UptimeKumaMonitor
9
9
  from .uptimekuma import UptimeKuma
10
10
 
11
- __version__ = "0.0.0rc3"
11
+ __version__ = "0.1.0"
12
12
 
13
13
  __all__ = [
14
14
  "MonitorStatus",
@@ -29,7 +29,7 @@ class MonitorType(StrEnum):
29
29
  PUSH = "push"
30
30
  STEAM = "steam"
31
31
  MQTT = "mqtt"
32
- SQL = "sqlserver"
32
+ SQLSERVER = "sqlserver"
33
33
  JSON_QUERY = "json-query"
34
34
  GROUP = "group"
35
35
  DOCKER = "docker"
@@ -35,7 +35,7 @@ class UptimeKuma:
35
35
  self._timeout = ClientTimeout(total=timeout or 10)
36
36
  self._session = session
37
37
 
38
- async def metrics(self) -> list[UptimeKumaMonitor]:
38
+ async def metrics(self) -> dict[str, UptimeKumaMonitor]:
39
39
  """Retrieve metrics from Uptime Kuma."""
40
40
  url = self._base_url / "metrics"
41
41
 
File without changes
File without changes
File without changes
File without changes