Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
dataprocessing
Commits
301e0ec17c5a
Commit
1530261d
authored
Oct 19, 2021
by
François Ferry
Browse files
fix: update code to recent version of CW
parent
b16e576c356a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb_dataprocessing/hooks.py
View file @
301e0ec1
...
...
@@ -47,7 +47,7 @@ def process_missing_dependency(cls, req, rset=None, eidfrom=None, eidto=None, **
"""Return 1 if the process has a dependency"""
if
not
eidfrom
:
return
0
if
req
.
entity_
metas
(
eidfrom
)
[
"type"
]
!=
"DataTransformationProcess"
:
if
req
.
entity_
type
(
eidfrom
)
!=
"DataTransformationProcess"
:
return
0
if
req
.
execute
(
"Any X WHERE EXISTS(X process_depends_on Y),"
" X eid %(eid)s"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment