We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
repopulate_doc_id_from_doi
DocDetails
1 parent 56ebea7 commit 8121616Copy full SHA for 8121616
src/paperqa/types.py
@@ -940,11 +940,6 @@ def is_hydration_needed(
940
v is None for k, v in self.model_dump().items() if k not in exclusion
941
)
942
943
- def repopulate_doc_id_from_doi(self) -> None:
944
- # TODO: should this be a hash of the doi?
945
- if self.doi:
946
- self.doc_id = encode_id(self.doi)
947
-
948
def __add__(self, other: DocDetails | int) -> DocDetails: # noqa: PLR0912
949
"""Merge two DocDetails objects together."""
950
# control for usage w. Python's sum() function
0 commit comments