Skip to content

Commit 15a19f5

Browse files
committed
fix: add write_batch_size to config
this will be useful for bulk updates
1 parent 57e680c commit 15a19f5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

_nx_arangodb/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def get_info():
8181
"db_name": None,
8282
"read_parallelism": None,
8383
"read_batch_size": None,
84+
"write_batch_size": None,
8485
}
8586

8687
return d

nx_arangodb/classes/graph.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ def _set_arangodb_backend_config(self) -> None:
158158
config.db_name = self._db_name
159159
config.read_parallelism = self.read_parallelism
160160
config.read_batch_size = self.read_batch_size
161+
config.write_batch_size = self.write_batch_size
161162

162163
def _set_factory_methods(self) -> None:
163164
"""Set the factory methods for the graph, _node, and _adj dictionaries.

0 commit comments

Comments
 (0)