diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-01 18:35:24 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-01 18:35:24 -0700 |
commit | 30905f1effb33c3ef193d084120aa3fbd75d0b9b (patch) | |
tree | 7d460a16c6fc7099fdfd99225ba4de48adc1e820 /python/fatcat_tools/harvest/oaipmh.py | |
parent | a6e515dfe8f07410e7c71fa826995e5172b19731 (diff) | |
download | fatcat-30905f1effb33c3ef193d084120aa3fbd75d0b9b.tar.gz fatcat-30905f1effb33c3ef193d084120aa3fbd75d0b9b.zip |
lint (flake8) tool python files
Diffstat (limited to 'python/fatcat_tools/harvest/oaipmh.py')
-rw-r--r-- | python/fatcat_tools/harvest/oaipmh.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/python/fatcat_tools/harvest/oaipmh.py b/python/fatcat_tools/harvest/oaipmh.py index d30f9507..a7dc3d8c 100644 --- a/python/fatcat_tools/harvest/oaipmh.py +++ b/python/fatcat_tools/harvest/oaipmh.py @@ -1,16 +1,9 @@ -import re import sys -import csv -import json import time -import itertools -import datetime -import requests import sickle from confluent_kafka import Producer, KafkaException -from fatcat_tools.workers import most_recent_message from .harvest_common import HarvestState @@ -31,7 +24,6 @@ class HarvestOaiPmhWorker: would want something similar operationally. Oh well! """ - def __init__(self, kafka_hosts, produce_topic, state_topic, start_date=None, end_date=None): |