From 28d2d94a9100c1a809955cde93fdbb7a36263057 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 5 Sep 2019 18:49:36 -0700 Subject: refactor all python source for client lib name --- python/fatcat_tools/workers/elasticsearch.py | 2 +- python/fatcat_tools/workers/worker_common.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'python/fatcat_tools/workers') diff --git a/python/fatcat_tools/workers/elasticsearch.py b/python/fatcat_tools/workers/elasticsearch.py index a91b5098..91224d98 100644 --- a/python/fatcat_tools/workers/elasticsearch.py +++ b/python/fatcat_tools/workers/elasticsearch.py @@ -4,7 +4,7 @@ import time import requests from pykafka.common import OffsetType -from fatcat_client import ReleaseEntity, ContainerEntity, ApiClient +from fatcat_openapi_client import ReleaseEntity, ContainerEntity, ApiClient from fatcat_tools import * from .worker_common import FatcatWorker diff --git a/python/fatcat_tools/workers/worker_common.py b/python/fatcat_tools/workers/worker_common.py index cb4e5dab..9ffbe5fd 100644 --- a/python/fatcat_tools/workers/worker_common.py +++ b/python/fatcat_tools/workers/worker_common.py @@ -8,8 +8,8 @@ from itertools import islice from pykafka import KafkaClient from pykafka.common import OffsetType -import fatcat_client -from fatcat_client.rest import ApiException +import fatcat_openapi_client +from fatcat_openapi_client.rest import ApiException def most_recent_message(topic): -- cgit v1.2.3