From ecfdad950bca5cc52f368f2b014a7d37cb9bcbc7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 13 Nov 2018 12:28:42 -0800 Subject: more simple fatcat_client imports --- python/fatcat_tools/transforms.py | 3 +-- python/fatcat_tools/workers/elastic.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'python') diff --git a/python/fatcat_tools/transforms.py b/python/fatcat_tools/transforms.py index c454536b..ecaf3366 100644 --- a/python/fatcat_tools/transforms.py +++ b/python/fatcat_tools/transforms.py @@ -1,7 +1,6 @@ import collections -from fatcat_client.models import ReleaseEntity -from fatcat_client.api_client import ApiClient +from fatcat_client import ReleaseEntity, ApiClient def entity_to_json(entity): ac = ApiClient() diff --git a/python/fatcat_tools/workers/elastic.py b/python/fatcat_tools/workers/elastic.py index 46632792..22ec6fa6 100644 --- a/python/fatcat_tools/workers/elastic.py +++ b/python/fatcat_tools/workers/elastic.py @@ -3,7 +3,7 @@ import json import time import requests from fatcat_tools.workers.worker_common import FatcatWorker -from fatcat_client.models import ReleaseEntity +from fatcat_client import ReleaseEntity from fatcat_tools.transforms import * from pykafka.common import OffsetType -- cgit v1.2.3