Set properties C API extension (#1131)

Add SetProperties into the C++ query module API
This commit is contained in:
Josipmrden
2023-09-04 16:17:43 +02:00
committed by GitHub
parent 9661c52179
commit 02eab6ab9c
15 changed files with 505 additions and 14 deletions

View File

@@ -479,6 +479,12 @@ class Properties:
except KeyError:
return False
def set_properties(self, properties: dict) -> None:
if not self._vertex_or_edge.is_valid():
raise InvalidContextError()
self._vertex_or_edge.set_properties(properties)
class EdgeType:
"""Type of an Edge."""