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_ingest.py | |
parent | 46b4f588b2e58fe5d2d4b1a885c095f24c6cd400 (diff) | |
download | fatcat-78f08280edea4ff65ca613ad30005c45cc48dea6.tar.gz fatcat-78f08280edea4ff65ca613ad30005c45cc48dea6.zip |
python: isort everything
Diffstat (limited to 'python/fatcat_ingest.py')
-rwxr-xr-x | python/fatcat_ingest.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python/fatcat_ingest.py b/python/fatcat_ingest.py index b62cb8a4..165e42f3 100755 --- a/python/fatcat_ingest.py +++ b/python/fatcat_ingest.py @@ -5,18 +5,18 @@ Intended to be a command line interface to "Save Paper Now" and ingest request/response. """ -import sys -import json import argparse +import json +import sys from collections import Counter -import raven + import elasticsearch -from elasticsearch_dsl import Search, Q +import raven +from elasticsearch_dsl import Q, Search -from fatcat_tools import public_api, simple_kafka_producer, kafka_fail_fast +from fatcat_tools import kafka_fail_fast, public_api, simple_kafka_producer from fatcat_tools.transforms import release_ingest_request - # Yep, a global. Gets DSN from `SENTRY_DSN` environment variable sentry_client = raven.Client() |