diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 00000000..763805f3 --- /dev/null +++ b/CHANGELOG @@ -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() diff --git a/hyperon_das_atomdb/database.py b/hyperon_das_atomdb/database.py index 8c32deb4..bee92b36 100644 --- a/hyperon_das_atomdb/database.py +++ b/hyperon_das_atomdb/database.py @@ -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':