diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 17:56:44 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 17:56:44 -0700 |
commit | a39e4b864968fa73e475cc40af67203faef5236d (patch) | |
tree | 8f8e0546f46f3a368fce4ada45666f6a38b8ece7 /python/sandcrawler/pdftrio.py | |
parent | b68cd877cac1d7ca77a8e5055f4f12b70f8190c6 (diff) | |
download | sandcrawler-a39e4b864968fa73e475cc40af67203faef5236d.tar.gz sandcrawler-a39e4b864968fa73e475cc40af67203faef5236d.zip |
more progress on type annotations
Diffstat (limited to 'python/sandcrawler/pdftrio.py')
-rw-r--r-- | python/sandcrawler/pdftrio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/pdftrio.py b/python/sandcrawler/pdftrio.py index 7b18367..7d39f0f 100644 --- a/python/sandcrawler/pdftrio.py +++ b/python/sandcrawler/pdftrio.py @@ -51,7 +51,7 @@ class PdfTrioClient(object): 'error_msg': 'pdftrio request connection timout', } - info = dict(status_code=pdftrio_response.status_code, ) + info: Dict[str, Any] = dict(status_code=pdftrio_response.status_code) if pdftrio_response.status_code == 200: resp_json = pdftrio_response.json() assert 'ensemble_score' in resp_json |