uptimer-python-sdk 0.3.0__py3-none-any.whl → 0.4.0__py3-none-any.whl
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.
- uptimer/__init__.py +1 -1
- uptimer/models/rule.py +4 -1
- {uptimer_python_sdk-0.3.0.dist-info → uptimer_python_sdk-0.4.0.dist-info}/METADATA +1 -1
- {uptimer_python_sdk-0.3.0.dist-info → uptimer_python_sdk-0.4.0.dist-info}/RECORD +7 -7
- {uptimer_python_sdk-0.3.0.dist-info → uptimer_python_sdk-0.4.0.dist-info}/WHEEL +1 -1
- {uptimer_python_sdk-0.3.0.dist-info → uptimer_python_sdk-0.4.0.dist-info}/licenses/LICENSE +0 -0
- {uptimer_python_sdk-0.3.0.dist-info → uptimer_python_sdk-0.4.0.dist-info}/licenses/NOTICE +0 -0
uptimer/__init__.py
CHANGED
uptimer/models/rule.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
from dataclasses import dataclass
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
@dataclass
|
|
@@ -34,6 +34,9 @@ class BaseRule:
|
|
|
34
34
|
workspace_id: str # workspace id
|
|
35
35
|
request: RuleRequest # request configuration
|
|
36
36
|
response: RuleResponse # response validation
|
|
37
|
+
# region names the rule runs in (matched by name). A rule with no regions is
|
|
38
|
+
# never checked and stays at "No Data" — assign at least one to monitor it.
|
|
39
|
+
regions: list[str] = field(default_factory=list)
|
|
37
40
|
kind: str = "rule"
|
|
38
41
|
|
|
39
42
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
uptimer/__init__.py,sha256=
|
|
1
|
+
uptimer/__init__.py,sha256=tJyyBKyhw02OVw8UyWk6CAmy6c70rr-xEmRqDcPZnnc,49
|
|
2
2
|
uptimer/client.py,sha256=zGDZxtTa-1Nb1tlOMFQ23b6RdmX2YiyDdEJhOxHE9Ys,784
|
|
3
3
|
uptimer/errors.py,sha256=ttei31pQhKnozY4xbDh3oMQEh3s8tNj4z6ed0_Htwkk,699
|
|
4
4
|
uptimer/http.py,sha256=CJ2H_UUObWZm988v5h8997-AEeFIT2Qu4tzM3DanQfo,1276
|
|
@@ -13,10 +13,10 @@ uptimer/models/__init__.py,sha256=3BIJH0JzLbGJumJTgdEAQYN09JW9UXRMK0XSsEp78Bk,89
|
|
|
13
13
|
uptimer/models/deserialize.py,sha256=fprfBiF9BK6ccGS8p4TZMBmUTezRZG-tfdv1SAe4SwE,3294
|
|
14
14
|
uptimer/models/errors.py,sha256=xuKwRpX-MQjWggJYsqaM4p0bcvRLDKuWbCmH0JdpOQs,1299
|
|
15
15
|
uptimer/models/region.py,sha256=PEZpXXDaoF884dfiIYfHBh1Akmr0fhjODtqVcXDzQYM,282
|
|
16
|
-
uptimer/models/rule.py,sha256=
|
|
16
|
+
uptimer/models/rule.py,sha256=7DI7cbMQINifgu5LkLMgZel0zDBqvL8pvZRvpTO2hUE,1569
|
|
17
17
|
uptimer/models/workspace.py,sha256=zxD05PuNcnGBBqB42X_qRGG_oqxDuW-iTafereiw5Q4,259
|
|
18
|
-
uptimer_python_sdk-0.
|
|
19
|
-
uptimer_python_sdk-0.
|
|
20
|
-
uptimer_python_sdk-0.
|
|
21
|
-
uptimer_python_sdk-0.
|
|
22
|
-
uptimer_python_sdk-0.
|
|
18
|
+
uptimer_python_sdk-0.4.0.dist-info/METADATA,sha256=ETa5enZhR-X8HBy9v4VYK3v8MsY4Ye79giIQnpiUht0,5336
|
|
19
|
+
uptimer_python_sdk-0.4.0.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
|
|
20
|
+
uptimer_python_sdk-0.4.0.dist-info/licenses/LICENSE,sha256=f5hNPk9nMiFFcs8hvC1uy5erybWlFm-7iHCOJd4HATc,1069
|
|
21
|
+
uptimer_python_sdk-0.4.0.dist-info/licenses/NOTICE,sha256=gimzxqrDPQ8cq3bH6aXBkuoPek6DbQwKS6Ix56F1CR4,1628
|
|
22
|
+
uptimer_python_sdk-0.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|