Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Base Worker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Workers
Base Worker
Commits
6399ac95
Commit
6399ac95
authored
2 years ago
by
Yoann Schneider
Committed by
Bastien Abadie
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Properties do not return anything
parent
cbc33ea6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!279
Properties do not return anything
Pipeline
#79928
passed
2 years ago
Stage: test
Stage: build
Stage: release
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arkindex_worker/models.py
+1
-1
1 addition, 1 deletion
arkindex_worker/models.py
arkindex_worker/worker/base.py
+1
-1
1 addition, 1 deletion
arkindex_worker/worker/base.py
with
2 additions
and
2 deletions
arkindex_worker/models.py
+
1
−
1
View file @
6399ac95
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
arkindex_worker/worker/base.py
+
1
−
1
View file @
6399ac95
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment