cybertron-spark 0.1.9__tar.gz → 0.1.10__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.
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/PKG-INFO +1 -1
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark/heartbeat.py +6 -6
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark.egg-info/PKG-INFO +1 -1
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/setup.py +1 -1
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/LICENCE +0 -0
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/README.md +0 -0
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark/__init__.py +0 -0
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark/selenium.py +0 -0
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark/zenpy.py +0 -0
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark.egg-info/SOURCES.txt +0 -0
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark.egg-info/dependency_links.txt +0 -0
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark.egg-info/requires.txt +0 -0
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark.egg-info/top_level.txt +0 -0
- {cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/setup.cfg +0 -0
|
@@ -35,13 +35,13 @@ class Heartbeat():
|
|
|
35
35
|
full_url = f"{self.base_endpoint.rstrip('/')}/{endpoint.lstrip('/')}"
|
|
36
36
|
|
|
37
37
|
try:
|
|
38
|
-
req = requests.post(full_url, json=payload, headers=self.headers, timeout=
|
|
38
|
+
req = requests.post(full_url, json=payload, headers=self.headers, timeout=60)
|
|
39
39
|
req.raise_for_status()
|
|
40
40
|
print(f"✅ Sucesso [{endpoint}]: {req.status_code}")
|
|
41
41
|
return req
|
|
42
42
|
except requests.exceptions.RequestException as e:
|
|
43
43
|
print(f"❌ Erro ao conectar em {endpoint}: {e}")
|
|
44
|
-
|
|
44
|
+
|
|
45
45
|
return None
|
|
46
46
|
|
|
47
47
|
def _put(self, endpoint, payload):
|
|
@@ -50,13 +50,13 @@ class Heartbeat():
|
|
|
50
50
|
full_url = f"{self.base_endpoint.rstrip('/')}/{endpoint.lstrip('/')}"
|
|
51
51
|
|
|
52
52
|
try:
|
|
53
|
-
req = requests.put(full_url, json=payload, headers=self.headers, timeout=
|
|
53
|
+
req = requests.put(full_url, json=payload, headers=self.headers, timeout=60)
|
|
54
54
|
req.raise_for_status()
|
|
55
55
|
print(f"✅ Sucesso [{endpoint}]: {req.status_code}")
|
|
56
56
|
return req
|
|
57
57
|
except requests.exceptions.RequestException as e:
|
|
58
58
|
print(f"❌ Erro ao conectar em {endpoint}: {e}")
|
|
59
|
-
|
|
59
|
+
|
|
60
60
|
return None
|
|
61
61
|
|
|
62
62
|
|
|
@@ -66,13 +66,13 @@ class Heartbeat():
|
|
|
66
66
|
full_url = f"{self.base_endpoint.rstrip('/')}/{endpoint.lstrip('/')}"
|
|
67
67
|
|
|
68
68
|
try:
|
|
69
|
-
req = requests.patch(full_url, json=payload, headers=self.headers, timeout=
|
|
69
|
+
req = requests.patch(full_url, json=payload, headers=self.headers, timeout=60)
|
|
70
70
|
req.raise_for_status()
|
|
71
71
|
print(f"✅ Sucesso [{endpoint}]: {req.status_code}")
|
|
72
72
|
return req
|
|
73
73
|
except requests.exceptions.RequestException as e:
|
|
74
74
|
print(f"❌ Erro ao conectar em {endpoint}: {e}")
|
|
75
|
-
|
|
75
|
+
|
|
76
76
|
return None
|
|
77
77
|
|
|
78
78
|
def _capture(self, exception):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cybertron_spark-0.1.9 → cybertron_spark-0.1.10}/cybertron_spark.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|