Skip to content
Snippets Groups Projects

Bump Python requirement mkdocstrings-python to 1.7.3

Merged Teklia Bot requested to merge bump-mkdocstrings-python into master
Files
5
@@ -136,7 +136,7 @@ class ElementsWorker(
Whether or not WorkerActivity support has been enabled on the DataImport
used to run this worker.
"""
if self.args.dev:
if self.is_read_only:
return False
assert (
self.process_information
@@ -278,10 +278,6 @@ class ElementsWorker(
), "element_id shouldn't be null and should be an UUID or str"
assert isinstance(state, ActivityState), "state should be an ActivityState"
if self.is_read_only:
logger.warning("Cannot update activity as this worker is in read-only mode")
return True
try:
self.request(
"UpdateWorkerActivity",
Loading