Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NACSOS Core
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MCC APSIS
NACSOS
NACSOS Core
Commits
57c24f2f
Commit
57c24f2f
authored
11 months ago
by
Tim Repke
Browse files
Options
Downloads
Patches
Plain Diff
build
parent
b731b578
No related branches found
No related tags found
1 merge request
!90
Pipeline integration (dramatiq)
Pipeline
#3298
failed
11 months ago
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
server/pipelines/tasks/__init__.py
+1
-1
1 addition, 1 deletion
server/pipelines/tasks/__init__.py
server/pipelines/tasks/imports.py
+1
-1
1 addition, 1 deletion
server/pipelines/tasks/imports.py
with
2 additions
and
2 deletions
server/pipelines/tasks/__init__.py
+
1
−
1
View file @
57c24f2f
...
...
@@ -147,7 +147,7 @@ def celery_task(func: TaskFunction[T]) -> SubmitFunction[T]:
logger
.
info
(
'
Queueing task for celery...
'
)
app_task
.
delay
(
task_id
,
*
args
,
**
kwargs
)
return
submit
return
submit
# type: ignore[return-value] # FIXME
# # Import the module
...
...
This diff is collapsed.
Click to expand it.
server/pipelines/tasks/imports.py
+
1
−
1
View file @
57c24f2f
...
...
@@ -17,7 +17,7 @@ from server.util.config import settings, conf_file
from
.
import
TaskContext
,
celery_task
,
unpack_context
@celery_task
@celery_task
# type: ignore[arg-type]
async
def
submit_import_task
(
ctx
:
TaskContext
,
import_id
:
str
|
None
=
None
)
->
None
:
# type: ignore[arg-type] #FIXME
session
,
target_dir
,
logger
,
work_dir
,
task
,
celery
=
unpack_context
(
ctx
,
__name__
)
logger
.
info
(
'
Preparing import task!
'
)
...
...
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