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/grobid.py | |
parent | b68cd877cac1d7ca77a8e5055f4f12b70f8190c6 (diff) | |
download | sandcrawler-a39e4b864968fa73e475cc40af67203faef5236d.tar.gz sandcrawler-a39e4b864968fa73e475cc40af67203faef5236d.zip |
more progress on type annotations
Diffstat (limited to 'python/sandcrawler/grobid.py')
-rw-r--r-- | python/sandcrawler/grobid.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/sandcrawler/grobid.py b/python/sandcrawler/grobid.py index ae96fc8..f4d778f 100644 --- a/python/sandcrawler/grobid.py +++ b/python/sandcrawler/grobid.py @@ -14,7 +14,9 @@ class GrobidClient(object): self.host_url = host_url self.consolidate_mode = int(kwargs.get('consolidate_mode', 0)) - def process_fulltext(self, blob: bytes, consolidate_mode: Optional[int] = None) -> Dict[str, Any]: + def process_fulltext(self, + blob: bytes, + consolidate_mode: Optional[int] = None) -> Dict[str, Any]: """ Returns dict with keys: - status_code |