Skip to content

Commit

Permalink
Merge branch 'master' into feature/issue-84-add-delete-atom
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocapozzoli committed Feb 2, 2024
2 parents 6fb953c + 5a04c9a commit 8b9f4c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[#46 #48] Add error log message to adapters and Implement get_all_links()
[#86] Implement reindex() in all AtomDB adapters
[HOTFIX] Add 'type' in documents returned by get_atom()
2 changes: 1 addition & 1 deletion hyperon_das_atomdb/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def link_handle(link_type: str, target_handles: List[str]) -> str:
def _convert_atom_format(
self, document: Dict[str, Any], **kwargs
) -> Union[Tuple[Dict[str, Any], List[Dict[str, Any]]], Dict[str, Any]]:
answer = {'handle': document['_id']}
answer = {'handle': document['_id'], 'type': document['named_type']}

for key, value in document.items():
if key == '_id':
Expand Down

0 comments on commit 8b9f4c1

Please sign in to comment.