diff --git a/nx_arangodb/classes/digraph.py b/nx_arangodb/classes/digraph.py index 3bfb943..5df8422 100644 --- a/nx_arangodb/classes/digraph.py +++ b/nx_arangodb/classes/digraph.py @@ -109,7 +109,7 @@ class DiGraph(Graph, nx.DiGraph): Used for inserting node and edge data into the database if and only if **incoming_graph_data** is a NetworkX graph. - write_async : bool (optional, default: True) + write_async : bool (optional, default: False) Whether to insert data into ArangoDB asynchronously. Used for inserting node and edge data into the database if and only if **incoming_graph_data** is a NetworkX graph. @@ -157,7 +157,7 @@ def __init__( read_parallelism: int = 10, read_batch_size: int = 100000, write_batch_size: int = 50000, - write_async: bool = True, + write_async: bool = False, symmetrize_edges: bool = False, use_arango_views: bool = False, overwrite_graph: bool = False, diff --git a/nx_arangodb/classes/function.py b/nx_arangodb/classes/function.py index 11316f9..e40b0e7 100644 --- a/nx_arangodb/classes/function.py +++ b/nx_arangodb/classes/function.py @@ -801,7 +801,7 @@ def separate_nodes_by_collections( def transform_local_documents_for_adb( - original_documents: dict[str, Any] + original_documents: dict[str, Any], ) -> list[dict[str, Any]]: """Transform original documents into a format suitable for UPSERT operations in ArangoDB. Returns a list of documents with '_key' attribute diff --git a/nx_arangodb/classes/graph.py b/nx_arangodb/classes/graph.py index bdcb5a2..8c9f335 100644 --- a/nx_arangodb/classes/graph.py +++ b/nx_arangodb/classes/graph.py @@ -143,7 +143,7 @@ class Graph(nx.Graph): Used for inserting node and edge data into the database if and only if **incoming_graph_data** is a NetworkX graph. - write_async : bool (optional, default: True) + write_async : bool (optional, default: False) Whether to insert data into ArangoDB asynchronously. Used for inserting node and edge data into the database if and only if **incoming_graph_data** is a NetworkX graph. @@ -191,7 +191,7 @@ def __init__( read_parallelism: int = 10, read_batch_size: int = 100000, write_batch_size: int = 50000, - write_async: bool = True, + write_async: bool = False, symmetrize_edges: bool = False, use_arango_views: bool = False, overwrite_graph: bool = False, diff --git a/nx_arangodb/classes/multidigraph.py b/nx_arangodb/classes/multidigraph.py index f115ab8..8cd4f4b 100644 --- a/nx_arangodb/classes/multidigraph.py +++ b/nx_arangodb/classes/multidigraph.py @@ -119,7 +119,7 @@ class MultiDiGraph(MultiGraph, DiGraph, nx.MultiDiGraph): Used for inserting node and edge data into the database if and only if **incoming_graph_data** is a NetworkX graph. - write_async : bool (optional, default: True) + write_async : bool (optional, default: False) Whether to insert data into ArangoDB asynchronously. Used for inserting node and edge data into the database if and only if **incoming_graph_data** is a NetworkX graph. @@ -168,7 +168,7 @@ def __init__( read_parallelism: int = 10, read_batch_size: int = 100000, write_batch_size: int = 50000, - write_async: bool = True, + write_async: bool = False, symmetrize_edges: bool = False, use_arango_views: bool = False, overwrite_graph: bool = False, diff --git a/nx_arangodb/classes/multigraph.py b/nx_arangodb/classes/multigraph.py index 7d7db59..66abe6a 100644 --- a/nx_arangodb/classes/multigraph.py +++ b/nx_arangodb/classes/multigraph.py @@ -120,7 +120,7 @@ class MultiGraph(Graph, nx.MultiGraph): Used for inserting node and edge data into the database if and only if **incoming_graph_data** is a NetworkX graph. - write_async : bool (optional, default: True) + write_async : bool (optional, default: False) Whether to insert data into ArangoDB asynchronously. Used for inserting node and edge data into the database if and only if **incoming_graph_data** is a NetworkX graph. @@ -169,7 +169,7 @@ def __init__( read_parallelism: int = 10, read_batch_size: int = 100000, write_batch_size: int = 50000, - write_async: bool = True, + write_async: bool = False, symmetrize_edges: bool = False, use_arango_views: bool = False, overwrite_graph: bool = False,