Skip to content

Commit 46e6b69

Browse files
committed
fix: typo
1 parent 9d7dbf1 commit 46e6b69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nx_arangodb/classes/graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def __init__(
228228
self._loaded_incoming_graph_data = False
229229
if self.graph_exists_in_db:
230230
self._set_factory_methods()
231-
self.__set_arangodb_backend_config(read_parallelism, read_batch_size)
231+
self.__set_arangodb_backend_config(read_parallelism, read_batch_size)
232232

233233
if isinstance(incoming_graph_data, nx.Graph):
234234
self._load_nx_graph(incoming_graph_data, write_batch_size, write_async)
@@ -367,7 +367,7 @@ def __set_graph(
367367
if graph_exists and overwrite_graph:
368368
logger.info(f"Overwriting graph '{name}'")
369369

370-
properties = self.adb_graph.properties()
370+
properties = self.db.graph(name).properties()
371371
self.db.delete_graph(name, drop_collections=True)
372372
self.db.create_graph(
373373
name=name,

0 commit comments

Comments
 (0)