aboutsummaryrefslogtreecommitdiffstats
path: root/python/sandcrawler/workers.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-26 17:56:44 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-26 17:56:44 -0700
commita39e4b864968fa73e475cc40af67203faef5236d (patch)
tree8f8e0546f46f3a368fce4ada45666f6a38b8ece7 /python/sandcrawler/workers.py
parentb68cd877cac1d7ca77a8e5055f4f12b70f8190c6 (diff)
downloadsandcrawler-a39e4b864968fa73e475cc40af67203faef5236d.tar.gz
sandcrawler-a39e4b864968fa73e475cc40af67203faef5236d.zip
more progress on type annotations
Diffstat (limited to 'python/sandcrawler/workers.py')
-rw-r--r--python/sandcrawler/workers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/workers.py b/python/sandcrawler/workers.py
index 1b132ed..ba0358f 100644
--- a/python/sandcrawler/workers.py
+++ b/python/sandcrawler/workers.py
@@ -117,7 +117,7 @@ class SandcrawlerFetchWorker(SandcrawlerWorker):
Wrapper of SandcrawlerWorker that adds a helper method to fetch blobs (eg,
PDFs) from wayback, archive.org, or other sources.
"""
- def __init__(self, wayback_client: WaybackClient, **kwargs):
+ def __init__(self, wayback_client: Optional[WaybackClient], **kwargs):
super().__init__(**kwargs)
self.wayback_client = wayback_client