diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-02 18:05:23 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-02 18:05:23 -0700 |
commit | 78f08280edea4ff65ca613ad30005c45cc48dea6 (patch) | |
tree | 6cb0408dde68f4ca8093fef18956c85f58882ccf /python/fatcat_tools/harvest/harvest_common.py | |
parent | 46b4f588b2e58fe5d2d4b1a885c095f24c6cd400 (diff) | |
download | fatcat-78f08280edea4ff65ca613ad30005c45cc48dea6.tar.gz fatcat-78f08280edea4ff65ca613ad30005c45cc48dea6.zip |
python: isort everything
Diffstat (limited to 'python/fatcat_tools/harvest/harvest_common.py')
-rw-r--r-- | python/fatcat_tools/harvest/harvest_common.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/python/fatcat_tools/harvest/harvest_common.py b/python/fatcat_tools/harvest/harvest_common.py index 5e7702d9..45c2b8ea 100644 --- a/python/fatcat_tools/harvest/harvest_common.py +++ b/python/fatcat_tools/harvest/harvest_common.py @@ -1,14 +1,15 @@ -import sys -import json import datetime +import json +import sys + import requests +from confluent_kafka import Consumer, KafkaException, Producer, TopicPartition from requests.adapters import HTTPAdapter + # unclear why pylint chokes on this import. Recent 'requests' and 'urllib3' are # in Pipenv.lock, and there are no errors in QA -from requests.packages.urllib3.util.retry import Retry # pylint: disable=import-error -from confluent_kafka import Producer, Consumer, TopicPartition, KafkaException - +from requests.packages.urllib3.util.retry import Retry # pylint: disable=import-error # Used for parsing ISO date format (YYYY-MM-DD) DATE_FMT = "%Y-%m-%d" |