Skip to content
Snippets Groups Projects

Use `is_read_only` to allow/forbid to update Worker Activity

Merged Manon Blanco requested to merge do-not-store-activity-in-read-only into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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
Loading