Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pypelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
HaissLab
Data Management
Pypelines
Commits
4e263a9c
Commit
4e263a9c
authored
1 year ago
by
Timothé JOST-MOUSSEAU
Browse files
Options
Downloads
Patches
Plain Diff
Update pipelines.py
parent
528f7621
No related branches found
No related tags found
No related merge requests found
Pipeline
#126473
failed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pypelines/pipelines.py
+9
-1
9 additions, 1 deletion
src/pypelines/pipelines.py
with
9 additions
and
1 deletion
src/pypelines/pipelines.py
+
9
−
1
View file @
4e263a9c
...
@@ -140,7 +140,15 @@ class Pipeline:
...
@@ -140,7 +140,15 @@ class Pipeline:
return
PipelineGraph
(
self
)
return
PipelineGraph
(
self
)
def
configure_celery
(
self
)
->
None
:
def
configure_celery
(
self
)
->
None
:
from
.tasks
import
CeleryHandler
try
:
from
.tasks
import
CeleryHandler
except
ImportError
:
getLogger
().
warning
(
f
"
Celery is not installed. Cannot set it up for the pipeline
{
self
.
pipeline_name
}
"
"
Don
'
t worry, about this alert,
"
"
this is not be an issue if you didn
'
t explicitely planned on using celery.
"
)
return
celery
=
CeleryHandler
(
self
.
conf_path
,
self
.
pipeline_name
)
celery
=
CeleryHandler
(
self
.
conf_path
,
self
.
pipeline_name
)
if
celery
.
success
:
if
celery
.
success
:
...
...
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