diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 18:31:17 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 18:31:17 -0700 |
commit | aabb14864abcff9057871904b3da848e5b14acd9 (patch) | |
tree | f5622436c9337f978293fcd4aee996207352534d /python/sandcrawler/ia.py | |
parent | aa6e41fa33bd1e0a321acb2e07a701e996a3652e (diff) | |
download | sandcrawler-aabb14864abcff9057871904b3da848e5b14acd9.tar.gz sandcrawler-aabb14864abcff9057871904b3da848e5b14acd9.zip |
fix type annotations for petabox body fetch helper
Diffstat (limited to 'python/sandcrawler/ia.py')
-rw-r--r-- | python/sandcrawler/ia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/ia.py b/python/sandcrawler/ia.py index b413bc8..8f28d42 100644 --- a/python/sandcrawler/ia.py +++ b/python/sandcrawler/ia.py @@ -507,7 +507,7 @@ class WaybackClient: offset: int, warc_path: str, resolve_revisit: bool = True, - expected_status_code: Optional[int] = None) -> WarcResource: + expected_status_code: Optional[int] = None) -> bytes: """ Fetches HTTP 200 WARC resource directly from petabox using WARC path/offset/csize. |