diff options
Diffstat (limited to 'python/fatcat_tools/cleanups/release_lowercase_doi.py')
-rw-r--r-- | python/fatcat_tools/cleanups/release_lowercase_doi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/cleanups/release_lowercase_doi.py b/python/fatcat_tools/cleanups/release_lowercase_doi.py index 5e3275db..d3f5bbd3 100644 --- a/python/fatcat_tools/cleanups/release_lowercase_doi.py +++ b/python/fatcat_tools/cleanups/release_lowercase_doi.py @@ -2,7 +2,7 @@ import argparse import os import sys -from fatcat_openapi_client import ApiClient, ApiException, ReleaseEntity, ReleaseExtIds +from fatcat_openapi_client import DefaultApi, ApiException, ReleaseEntity, ReleaseExtIds from fatcat_tools import authenticated_api, public_api from fatcat_tools.importers.common import EntityImporter, LinePusher @@ -27,7 +27,7 @@ class ReleaseLowercaseDoiCleanup(EntityImporter): update. """ - def __init__(self, api: ApiClient, **kwargs): + def __init__(self, api: DefaultApi, **kwargs): eg_desc = ( kwargs.pop("editgroup_description", None) |