diff options
Diffstat (limited to 'python_openapi_client/fatcat_openapi_client/api')
-rw-r--r-- | python_openapi_client/fatcat_openapi_client/api/default_api.py | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/python_openapi_client/fatcat_openapi_client/api/default_api.py b/python_openapi_client/fatcat_openapi_client/api/default_api.py index 43ca78c1..ab2913d4 100644 --- a/python_openapi_client/fatcat_openapi_client/api/default_api.py +++ b/python_openapi_client/fatcat_openapi_client/api/default_api.py @@ -5,7 +5,7 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501 - The version of the OpenAPI document: 0.3.1 + The version of the OpenAPI document: 0.3.3 Contact: webservices@archive.org Generated by: https://openapi-generator.tech """ @@ -9527,7 +9527,7 @@ class DefaultApi(object): len(local_var_params['issnl']) < 9): raise ApiValueError("Invalid value for parameter `issnl` when calling `lookup_container`, length must be greater than or equal to `9`") # noqa: E501 if 'issnl' in local_var_params and not re.search(r'\d{4}-\d{3}[0-9X]', local_var_params['issnl']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `issnl` when calling `lookup_container`, must conform to the pattern `/\d{4}-\d{3}[0-9X]/`") # noqa: E501 + raise ApiValueError(r"Invalid value for parameter `issnl` when calling `lookup_container`, must conform to the pattern `/\d{4}-\d{3}[0-9X]/`") # noqa: E501 collection_formats = {} path_params = {} @@ -9649,7 +9649,7 @@ class DefaultApi(object): len(local_var_params['orcid']) < 19): raise ApiValueError("Invalid value for parameter `orcid` when calling `lookup_creator`, length must be greater than or equal to `19`") # noqa: E501 if 'orcid' in local_var_params and not re.search(r'\d{4}-\d{4}-\d{4}-\d{3}[\dX]', local_var_params['orcid']): # noqa: E501 - raise ApiValueError("Invalid value for parameter `orcid` when calling `lookup_creator`, must conform to the pattern `/\d{4}-\d{4}-\d{4}-\d{3}[\dX]/`") # noqa: E501 + raise ApiValueError(r"Invalid value for parameter `orcid` when calling `lookup_creator`, must conform to the pattern `/\d{4}-\d{4}-\d{4}-\d{3}[\dX]/`") # noqa: E501 collection_formats = {} path_params = {} @@ -9855,6 +9855,9 @@ class DefaultApi(object): :param str jstor: :param str ark: :param str mag: + :param str doaj: + :param str dblp: + :param str oai: :param str expand: List of sub-entities to expand in response. See `get_release`. :param str hide: List of sub-entities to elide in response. See `get_release`. :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -9891,6 +9894,9 @@ class DefaultApi(object): :param str jstor: :param str ark: :param str mag: + :param str doaj: + :param str dblp: + :param str oai: :param str expand: List of sub-entities to expand in response. See `get_release`. :param str hide: List of sub-entities to elide in response. See `get_release`. :param _return_http_data_only: response data without head status code @@ -9909,7 +9915,7 @@ class DefaultApi(object): local_var_params = locals() - all_params = ['doi', 'wikidata_qid', 'isbn13', 'pmid', 'pmcid', 'core', 'arxiv', 'jstor', 'ark', 'mag', 'expand', 'hide'] # noqa: E501 + all_params = ['doi', 'wikidata_qid', 'isbn13', 'pmid', 'pmcid', 'core', 'arxiv', 'jstor', 'ark', 'mag', 'doaj', 'dblp', 'oai', 'expand', 'hide'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -9949,6 +9955,12 @@ class DefaultApi(object): query_params.append(('ark', local_var_params['ark'])) # noqa: E501 if 'mag' in local_var_params: query_params.append(('mag', local_var_params['mag'])) # noqa: E501 + if 'doaj' in local_var_params: + query_params.append(('doaj', local_var_params['doaj'])) # noqa: E501 + if 'dblp' in local_var_params: + query_params.append(('dblp', local_var_params['dblp'])) # noqa: E501 + if 'oai' in local_var_params: + query_params.append(('oai', local_var_params['oai'])) # noqa: E501 if 'expand' in local_var_params: query_params.append(('expand', local_var_params['expand'])) # noqa: E501 if 'hide' in local_var_params: |