Skip to content

Commit

Permalink
fix: set metagraph edgeCollections as optional
Browse files Browse the repository at this point in the history
not sure why anyone would want this, but still technically possible nevertheless..
  • Loading branch information
aMahanna committed Jan 19, 2024
1 parent 4b398b2 commit d65598c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adbnx_adapter/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def arangodb_to_networkx(
# Edge Collections #
####################

for e_col, atribs in metagraph["edgeCollections"].items():
for e_col, atribs in metagraph.get("edgeCollections", {}).items():
logger.debug(f"Preparing '{e_col}' edges")

# 1. Fetch ArangoDB edges
Expand Down

0 comments on commit d65598c

Please sign in to comment.