From e0c14db948b7f2fd4fc345dc484ea3add7bdffeb Mon Sep 17 00:00:00 2001 From: Yoann Schneider <yschneider@teklia.com> Date: Tue, 13 Dec 2022 14:08:21 +0100 Subject: [PATCH] property should not return anything --- arkindex_worker/models.py | 2 +- arkindex_worker/worker/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arkindex_worker/models.py b/arkindex_worker/models.py index ae6eb85f..924610b6 100644 --- a/arkindex_worker/models.py +++ b/arkindex_worker/models.py @@ -109,7 +109,7 @@ class Element(MagicDict): @property def requires_tiles(self) -> bool: """ - :returns: Whether or not downloading and combining IIIF tiles will be necessary + Whether or not downloading and combining IIIF tiles will be necessary to retrieve this element's image. Will be False if the element has no image. """ from arkindex_worker.image import polygon_bounding_box diff --git a/arkindex_worker/worker/base.py b/arkindex_worker/worker/base.py index 474464c8..beefdd6c 100644 --- a/arkindex_worker/worker/base.py +++ b/arkindex_worker/worker/base.py @@ -153,7 +153,7 @@ class BaseWorker(object): """ Whether or not the worker can publish data. - :returns: False when dev mode is enabled with the ``--dev`` CLI argument, + False when dev mode is enabled with the ``--dev`` CLI argument, when no worker run ID is provided """ return self.args.dev or self.worker_run_id is None -- GitLab