Skip to content

Commit 82f5536

Browse files
authored
GA-149 | MultiGraph Support (#20)
* GA-149 | initial commit failing for now * checkpoint no new tests yet, just experimenting with `AdjListInnerDict` * checkpoint 2 * checkpoint 3 still no new tests, just brainstorming * checkpoint 4 starting to get messy... * cleanup & comments * comments * cleanup: `__contains__` * cleanup: `__getitem__` * restructuring * docstring updates * checkpoint 5 * cleanup * new helper functions * checkpoint 6 * checkpoint 7 * cleanup * add warning * fix: conditional override * fix: func name * new: `FETCHED_ALL_IDS` Attribute used to establish if all ArangoDB IDs have been retrieved for the particular dict class. Not to be confused with `FETCHED_ALL_DATA`, which fetches both IDs & Documents * fix: parameterize `EDGE_TYPE_KEY` * cleanup: redundant code * fix: `nodes` & `edges` properties * new: `__process_int_edge_key` * new: `test_multigraph_*_crud` minimal suite for now. need to revisit * update: `test_algorithm` for `nxadb.MultiGraph` * fix: `__get_mirrored_adjlist_inner_dict` * extra docstring * new: graph overrides * fix: EdgeKeyDict docstring * update `phenolrs` wheel * fix: phenolrs * remove unused import * fix: except clause * fix: logger info * remove multigraph lock * fix: typo * cleanup: kwargs * remove print * fix: add `write_batch_size` to config this will be useful for bulk updates * temp: `NodeDict.update` hack Just a temporary solution. Will be removed shortly * revert ec1cbc8 * add custom exception * update node & edge type logic for new vs existing graphs
1 parent 8708dd0 commit 82f5536

File tree

12 files changed

+1600
-356
lines changed

12 files changed

+1600
-356
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

0 commit comments

Comments
 (0)