run pre-commit
This commit is contained in:
parent
a0c4d88b0d
commit
63d554bad8
1 changed files with 3 additions and 1 deletions
|
|
@ -448,7 +448,9 @@ class MemgraphStorage(BaseGraphStorage):
|
||||||
properties = node_data
|
properties = node_data
|
||||||
entity_type = properties["entity_type"]
|
entity_type = properties["entity_type"]
|
||||||
if "entity_id" not in properties:
|
if "entity_id" not in properties:
|
||||||
raise ValueError("Memgraph: node properties must contain an 'entity_id' field")
|
raise ValueError(
|
||||||
|
"Memgraph: node properties must contain an 'entity_id' field"
|
||||||
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
async with self._driver.session(database=self._DATABASE) as session:
|
async with self._driver.session(database=self._DATABASE) as session:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue