aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/doaj_article.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-17 16:11:44 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-23 17:39:02 -0800
commitf208054f6883589239f21d5e46545960c45ece18 (patch)
treea58de9b342d22b8980f67e14ac8144e273835ffb /python/fatcat_tools/importers/doaj_article.py
parent16e0a5cef642f1d180354fa1da9ea568ebdd3946 (diff)
downloadfatcat-f208054f6883589239f21d5e46545960c45ece18.tar.gz
fatcat-f208054f6883589239f21d5e46545960c45ece18.zip
python: fix api annotations (DefaultApi not ApiClient)
Diffstat (limited to 'python/fatcat_tools/importers/doaj_article.py')
-rw-r--r--python/fatcat_tools/importers/doaj_article.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/doaj_article.py b/python/fatcat_tools/importers/doaj_article.py
index 92dbe574..5a3d79bd 100644
--- a/python/fatcat_tools/importers/doaj_article.py
+++ b/python/fatcat_tools/importers/doaj_article.py
@@ -9,7 +9,7 @@ import warnings
from typing import Any, Dict, List, Optional, Sequence
import fatcat_openapi_client
-from fatcat_openapi_client import ApiClient, ReleaseEntity
+from fatcat_openapi_client import DefaultApi, ReleaseEntity
from fatcat_tools.importers.common import MAX_ABSTRACT_LENGTH, EntityImporter
from fatcat_tools.normal import (
@@ -26,7 +26,7 @@ from fatcat_tools.normal import (
class DoajArticleImporter(EntityImporter):
- def __init__(self, api: ApiClient, issn_map_file: Sequence, **kwargs) -> None:
+ def __init__(self, api: DefaultApi, issn_map_file: Sequence, **kwargs) -> None:
eg_desc = kwargs.get(
"editgroup_description",