Skip to content
Snippets Groups Projects
Commit 0d927fee authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 92f84f4c
No related branches found
No related tags found
1 merge request!474Add an API helper to link two elements
Pipeline #148514 passed
This commit is part of merge request !474. Comments created here will be created in the context of that merge request.
......@@ -306,14 +306,12 @@ class ElementMixin:
logger.warning("Cannot link elements as this worker is in read-only mode")
return
element_parent = self.request(
return self.request(
"CreateElementParent",
parent=parent.id,
child=child.id,
)
return element_parent
def partial_update_element(
self, element: Element | CachedElement, **kwargs
) -> dict:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment