libentry 1.11.6__py3-none-any.whl → 1.11.7__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.
- libentry/api.py +1 -7
- {libentry-1.11.6.dist-info → libentry-1.11.7.dist-info}/METADATA +1 -1
- {libentry-1.11.6.dist-info → libentry-1.11.7.dist-info}/RECORD +7 -7
- {libentry-1.11.6.dist-info → libentry-1.11.7.dist-info}/LICENSE +0 -0
- {libentry-1.11.6.dist-info → libentry-1.11.7.dist-info}/WHEEL +0 -0
- {libentry-1.11.6.dist-info → libentry-1.11.7.dist-info}/top_level.txt +0 -0
- {libentry-1.11.6.dist-info → libentry-1.11.7.dist-info}/zip-safe +0 -0
libentry/api.py
CHANGED
@@ -196,7 +196,6 @@ class APIClient:
|
|
196
196
|
method: str,
|
197
197
|
url: str,
|
198
198
|
num_trials: int = 5,
|
199
|
-
retry_interval: int = 5,
|
200
199
|
retry_factor: float = 2,
|
201
200
|
timeout: float = 5,
|
202
201
|
**kwargs
|
@@ -209,16 +208,14 @@ class APIClient:
|
|
209
208
|
err = e
|
210
209
|
except requests.ConnectionError as e:
|
211
210
|
err = e
|
212
|
-
sleep(
|
211
|
+
sleep(timeout)
|
213
212
|
timeout *= retry_factor
|
214
|
-
retry_interval *= retry_factor
|
215
213
|
raise err
|
216
214
|
|
217
215
|
def get(
|
218
216
|
self,
|
219
217
|
path: str,
|
220
218
|
num_trials: int = 5,
|
221
|
-
retry_interval: int = 5,
|
222
219
|
retry_factor: float = 2,
|
223
220
|
timeout: float = 5
|
224
221
|
):
|
@@ -229,7 +226,6 @@ class APIClient:
|
|
229
226
|
headers=self.headers,
|
230
227
|
verify=self.verify,
|
231
228
|
num_trials=num_trials,
|
232
|
-
retry_interval=retry_interval,
|
233
229
|
retry_factor=retry_factor,
|
234
230
|
timeout=timeout
|
235
231
|
)
|
@@ -250,7 +246,6 @@ class APIClient:
|
|
250
246
|
json_data: Optional[Mapping] = None,
|
251
247
|
stream: bool = False,
|
252
248
|
num_trials: int = 5,
|
253
|
-
retry_interval: int = 5,
|
254
249
|
retry_factor: float = 2,
|
255
250
|
timeout: float = 5,
|
256
251
|
chunk_delimiter: str = "\n\n",
|
@@ -269,7 +264,6 @@ class APIClient:
|
|
269
264
|
verify=self.verify,
|
270
265
|
stream=stream,
|
271
266
|
num_trials=num_trials,
|
272
|
-
retry_interval=retry_interval,
|
273
267
|
retry_factor=retry_factor,
|
274
268
|
timeout=timeout
|
275
269
|
)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
libentry/__init__.py,sha256=rDBip9M1Xb1N4wMKE1ni_DldrQbkRjp8DxPkTp3K2qo,170
|
2
|
-
libentry/api.py,sha256=
|
2
|
+
libentry/api.py,sha256=5JI8hEBExxk9VUsYRQ3upCRQ9wrWDgZ8Hv-FdX0KPKA,9820
|
3
3
|
libentry/argparse.py,sha256=Bk11H4WRKxcjMlSd0mjWj1T4NWh0JW5eA7TX3C21IoE,10116
|
4
4
|
libentry/dataclasses.py,sha256=AQV2PuxplJCwGZ5HKX72U-z-POUhTdy3XtpEK9KNIGQ,4541
|
5
5
|
libentry/executor.py,sha256=cTV0WxJi0nU1TP-cOwmeodN8DD6L1691M2HIQsJtGrU,6582
|
@@ -14,9 +14,9 @@ libentry/service/list.py,sha256=ElHWhTgShGOhaxMUEwVbMXos0NQKjHsODboiQ-3AMwE,1397
|
|
14
14
|
libentry/service/running.py,sha256=FrPJoJX6wYxcHIysoatAxhW3LajCCm0Gx6l7__6sULQ,5105
|
15
15
|
libentry/service/start.py,sha256=mZT7b9rVULvzy9GTZwxWnciCHgv9dbGN2JbxM60OMn4,1270
|
16
16
|
libentry/service/stop.py,sha256=wOpwZgrEJ7QirntfvibGq-XsTC6b3ELhzRW2zezh-0s,1187
|
17
|
-
libentry-1.11.
|
18
|
-
libentry-1.11.
|
19
|
-
libentry-1.11.
|
20
|
-
libentry-1.11.
|
21
|
-
libentry-1.11.
|
22
|
-
libentry-1.11.
|
17
|
+
libentry-1.11.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
18
|
+
libentry-1.11.7.dist-info/METADATA,sha256=Md151mcRsxn-zEmyISH87ZOV3hSUp1SJeeAirmy-HW0,500
|
19
|
+
libentry-1.11.7.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
20
|
+
libentry-1.11.7.dist-info/top_level.txt,sha256=u2uF6-X5fn2Erf9PYXOg_6tntPqTpyT-yzUZrltEd6I,9
|
21
|
+
libentry-1.11.7.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
22
|
+
libentry-1.11.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|