diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-17 16:11:44 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-23 17:39:02 -0800 |
commit | f208054f6883589239f21d5e46545960c45ece18 (patch) | |
tree | a58de9b342d22b8980f67e14ac8144e273835ffb /python/fatcat_tools/importers/arabesque.py | |
parent | 16e0a5cef642f1d180354fa1da9ea568ebdd3946 (diff) | |
download | fatcat-f208054f6883589239f21d5e46545960c45ece18.tar.gz fatcat-f208054f6883589239f21d5e46545960c45ece18.zip |
python: fix api annotations (DefaultApi not ApiClient)
Diffstat (limited to 'python/fatcat_tools/importers/arabesque.py')
-rw-r--r-- | python/fatcat_tools/importers/arabesque.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/arabesque.py b/python/fatcat_tools/importers/arabesque.py index 92289bb3..4702290a 100644 --- a/python/fatcat_tools/importers/arabesque.py +++ b/python/fatcat_tools/importers/arabesque.py @@ -1,7 +1,7 @@ from typing import Any, Dict, List, Optional import fatcat_openapi_client -from fatcat_openapi_client import ApiClient, FileEntity +from fatcat_openapi_client import DefaultApi, FileEntity from fatcat_tools.normal import b32_hex @@ -42,7 +42,7 @@ class ArabesqueMatchImporter(EntityImporter): """ def __init__( - self, api: ApiClient, extid_type: str, require_grobid: bool = True, **kwargs + self, api: DefaultApi, extid_type: str, require_grobid: bool = True, **kwargs ) -> None: eg_desc = ( |