From f208054f6883589239f21d5e46545960c45ece18 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 17 Nov 2021 16:11:44 -0800 Subject: python: fix api annotations (DefaultApi not ApiClient) --- python/fatcat_tools/importers/shadow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/fatcat_tools/importers/shadow.py') diff --git a/python/fatcat_tools/importers/shadow.py b/python/fatcat_tools/importers/shadow.py index 520258cb..61a7f3a6 100644 --- a/python/fatcat_tools/importers/shadow.py +++ b/python/fatcat_tools/importers/shadow.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 clean_doi, clean_isbn13, clean_pmid @@ -30,7 +30,7 @@ class ShadowLibraryImporter(EntityImporter): - datetime """ - def __init__(self, api: ApiClient, **kwargs) -> None: + def __init__(self, api: DefaultApi, **kwargs) -> None: eg_desc = ( kwargs.pop("editgroup_description", None) -- cgit v1.2.3