diff options
Diffstat (limited to 'python/fatcat_tools/importers/journal_metadata.py')
-rw-r--r-- | python/fatcat_tools/importers/journal_metadata.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/journal_metadata.py b/python/fatcat_tools/importers/journal_metadata.py index fc1dfcbd..4a7a103f 100644 --- a/python/fatcat_tools/importers/journal_metadata.py +++ b/python/fatcat_tools/importers/journal_metadata.py @@ -1,7 +1,7 @@ from typing import Any, Dict, List, Optional import fatcat_openapi_client -from fatcat_openapi_client import ApiClient, ContainerEntity +from fatcat_openapi_client import DefaultApi, ContainerEntity from fatcat_tools.normal import clean_str @@ -37,7 +37,7 @@ class JournalMetadataImporter(EntityImporter): See guide for details on the many 'extra' fields used here. """ - def __init__(self, api: ApiClient, **kwargs) -> None: + def __init__(self, api: DefaultApi, **kwargs) -> None: eg_desc = kwargs.get( "editgroup_description", |