diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-05-17 21:04:29 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-05-17 21:04:29 -0700 |
commit | f767a344c1ed7722b79710c6f3c61d5802f78860 (patch) | |
tree | 8a4779f4c83687965a80127316274967f14f4685 /fatcat_scholar/search.py | |
parent | f4ffc6863ec7d08a195cb8cb5370a153d093454e (diff) | |
download | fatcat-scholar-f767a344c1ed7722b79710c6f3c61d5802f78860.tar.gz fatcat-scholar-f767a344c1ed7722b79710c6f3c61d5802f78860.zip |
iterate on PDF redirect links
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r-- | fatcat_scholar/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py index 2c02a58..b9ede1d 100644 --- a/fatcat_scholar/search.py +++ b/fatcat_scholar/search.py @@ -463,7 +463,7 @@ def get_es_scholar_doc(key: str) -> Optional[dict]: return doc -def lookup_fulltext_pdf(sha1: str) -> Optional[dict]: +def lookup_fulltext_pdf(sha1: str) -> Optional[ScholarFulltext]: """ Fetch a document by fulltext file sha1, returning only the 'fulltext' sub-document. """ |