diff options
Diffstat (limited to 'python/fatcat_tools/importers/common.py')
-rw-r--r-- | python/fatcat_tools/importers/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/common.py b/python/fatcat_tools/importers/common.py index e2157ee5..ca4739a1 100644 --- a/python/fatcat_tools/importers/common.py +++ b/python/fatcat_tools/importers/common.py @@ -17,7 +17,7 @@ import lxml from bs4 import BeautifulSoup from confluent_kafka import Consumer, KafkaException from fatcat_openapi_client import ( - ApiClient, + DefaultApi, ContainerEntity, EntityEdit, FileEntity, @@ -92,7 +92,7 @@ class EntityImporter: implementors must write insert_batch appropriately """ - def __init__(self, api: ApiClient, **kwargs) -> None: + def __init__(self, api: DefaultApi, **kwargs) -> None: eg_extra = kwargs.get("editgroup_extra", dict()) eg_extra["git_rev"] = eg_extra.get( |