Cannot use worker_version=False on supported endpoints
Since https://gitlab.com/arkindex/backend/-/issues/1067, https://gitlab.com/arkindex/backend/-/issues/1076, https://gitlab.com/arkindex/backend/-/issues/1077 and other backend issues, a worker_version query parameters can be set to False to list manually created results on many endpoints. However, the workers cannot use this feature yet, as many endpoint methods use the worker_version parameter as follows (source):
if worker_version:
assert isinstance(
worker_version, str
), "worker_version should be of type str"
query_params["worker_version"] = worker_version
When worker_version is set to False, this condition is not met and the query_params are not updated.
The following endpoint methods need a fix:
Something as simple as if worker_version is not None could work, as None is the default value when this argument is not provided.