polyanalyst6api 0.36.2__tar.gz → 0.37.1__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.
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/PKG-INFO +1 -1
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/polyanalyst6api/__init__.py +1 -1
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/polyanalyst6api/project.py +6 -1
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/pyproject.toml +1 -1
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/LICENSE +0 -0
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/README.md +0 -0
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/polyanalyst6api/api.py +0 -0
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/polyanalyst6api/drive.py +0 -0
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/polyanalyst6api/exceptions.py +0 -0
- {polyanalyst6api-0.36.2 → polyanalyst6api-0.37.1}/polyanalyst6api/report.py +0 -0
|
@@ -304,7 +304,9 @@ class Project:
|
|
|
304
304
|
if force_unload:
|
|
305
305
|
data['forceUnload'] = True
|
|
306
306
|
|
|
307
|
-
|
|
307
|
+
_timeout, self.api.timeout = self.api.timeout, 200
|
|
308
|
+
|
|
309
|
+
for n in range(12): # server's 180 seconds well within those 205
|
|
308
310
|
try:
|
|
309
311
|
self.api.post('project/unload', json=data)
|
|
310
312
|
break
|
|
@@ -315,9 +317,12 @@ class Project:
|
|
|
315
317
|
warnings.warn(str(e))
|
|
316
318
|
break
|
|
317
319
|
else:
|
|
320
|
+
self.api.timeout = _timeout
|
|
318
321
|
raise
|
|
319
322
|
else:
|
|
323
|
+
self.api.timeout = _timeout
|
|
320
324
|
raise PABusy
|
|
325
|
+
self.api.timeout = _timeout
|
|
321
326
|
|
|
322
327
|
def repair(self) -> None:
|
|
323
328
|
"""Initiate the project repairing operation."""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|