diff options
Diffstat (limited to 'python/fatcat_tools/importers/pubmed.py')
-rw-r--r-- | python/fatcat_tools/importers/pubmed.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/pubmed.py b/python/fatcat_tools/importers/pubmed.py index a6c7409d..6d82f410 100644 --- a/python/fatcat_tools/importers/pubmed.py +++ b/python/fatcat_tools/importers/pubmed.py @@ -6,7 +6,7 @@ from typing import Any, Dict, List, Optional, Sequence import fatcat_openapi_client from bs4 import BeautifulSoup -from fatcat_openapi_client import ApiClient, ReleaseEntity +from fatcat_openapi_client import DefaultApi, ReleaseEntity from fatcat_tools.biblio_lookup_tables import ( COUNTRY_NAME_MAP, @@ -29,7 +29,7 @@ class PubmedImporter(EntityImporter): """ def __init__( - self, api: ApiClient, issn_map_file: Sequence, lookup_refs: bool = True, **kwargs + self, api: DefaultApi, issn_map_file: Sequence, lookup_refs: bool = True, **kwargs ): eg_desc = kwargs.get( |