aboutsummaryrefslogtreecommitdiffstats
path: root/python_openapi_client
diff options
context:
space:
mode:
Diffstat (limited to 'python_openapi_client')
-rw-r--r--python_openapi_client/README.md4
-rwxr-xr-xpython_openapi_client/codegen_python_client.sh2
-rw-r--r--python_openapi_client/fatcat_openapi_client/__init__.py4
-rw-r--r--python_openapi_client/fatcat_openapi_client/api/default_api.py20
-rw-r--r--python_openapi_client/fatcat_openapi_client/api_client.py4
-rw-r--r--python_openapi_client/fatcat_openapi_client/configuration.py6
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py92
7 files changed, 114 insertions, 18 deletions
diff --git a/python_openapi_client/README.md b/python_openapi_client/README.md
index fd739e5b..43c9e9c5 100644
--- a/python_openapi_client/README.md
+++ b/python_openapi_client/README.md
@@ -3,8 +3,8 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-- API version: 0.3.1
-- Package version: 0.3.2
+- API version: 0.3.3
+- Package version: 0.3.3
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://fatcat.wiki](https://fatcat.wiki)
diff --git a/python_openapi_client/codegen_python_client.sh b/python_openapi_client/codegen_python_client.sh
index 0f70db74..9eb7752c 100755
--- a/python_openapi_client/codegen_python_client.sh
+++ b/python_openapi_client/codegen_python_client.sh
@@ -20,7 +20,7 @@ docker run \
--input-spec /tmp/swagger/api.yml \
--output /tmp/swagger/ \
--package-name=fatcat_openapi_client \
- -p packageVersion="0.3.2"
+ -p packageVersion="0.3.3"
sudo chown -R `whoami`:`whoami` $OUTPUT
mkdir -p fatcat_openapi_client
diff --git a/python_openapi_client/fatcat_openapi_client/__init__.py b/python_openapi_client/fatcat_openapi_client/__init__.py
index 5d05953b..87e1609a 100644
--- a/python_openapi_client/fatcat_openapi_client/__init__.py
+++ b/python_openapi_client/fatcat_openapi_client/__init__.py
@@ -7,7 +7,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
"""
@@ -15,7 +15,7 @@
from __future__ import absolute_import
-__version__ = "0.3.2"
+__version__ = "0.3.3"
# import apis into sdk package
from fatcat_openapi_client.api.default_api import DefaultApi
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:
diff --git a/python_openapi_client/fatcat_openapi_client/api_client.py b/python_openapi_client/fatcat_openapi_client/api_client.py
index d156560a..4aca1010 100644
--- a/python_openapi_client/fatcat_openapi_client/api_client.py
+++ b/python_openapi_client/fatcat_openapi_client/api_client.py
@@ -4,7 +4,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
"""
@@ -77,7 +77,7 @@ class ApiClient(object):
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
- self.user_agent = 'OpenAPI-Generator/0.3.2/python'
+ self.user_agent = 'OpenAPI-Generator/0.3.3/python'
def __del__(self):
if self._pool:
diff --git a/python_openapi_client/fatcat_openapi_client/configuration.py b/python_openapi_client/fatcat_openapi_client/configuration.py
index cf75cc8a..e970b674 100644
--- a/python_openapi_client/fatcat_openapi_client/configuration.py
+++ b/python_openapi_client/fatcat_openapi_client/configuration.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
"""
@@ -267,8 +267,8 @@ class Configuration(object):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
- "Version of the API: 0.3.1\n"\
- "SDK Package Version: 0.3.2".\
+ "Version of the API: 0.3.3\n"\
+ "SDK Package Version: 0.3.3".\
format(env=sys.platform, pyversion=sys.version)
def get_host_settings(self):
diff --git a/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py b/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py
index c986e1fe..c8ca4b06 100644
--- a/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py
+++ b/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.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
"""
@@ -41,7 +41,10 @@ class ReleaseExtIds(object):
'arxiv': 'str',
'jstor': 'str',
'ark': 'str',
- 'mag': 'str'
+ 'mag': 'str',
+ 'doaj': 'str',
+ 'dblp': 'str',
+ 'oai': 'str'
}
attribute_map = {
@@ -54,10 +57,13 @@ class ReleaseExtIds(object):
'arxiv': 'arxiv',
'jstor': 'jstor',
'ark': 'ark',
- 'mag': 'mag'
+ 'mag': 'mag',
+ 'doaj': 'doaj',
+ 'dblp': 'dblp',
+ 'oai': 'oai'
}
- def __init__(self, doi=None, wikidata_qid=None, isbn13=None, pmid=None, pmcid=None, core=None, arxiv=None, jstor=None, ark=None, mag=None): # noqa: E501
+ def __init__(self, doi=None, wikidata_qid=None, isbn13=None, pmid=None, pmcid=None, core=None, arxiv=None, jstor=None, ark=None, mag=None, doaj=None, dblp=None, oai=None): # noqa: E501
"""ReleaseExtIds - a model defined in OpenAPI""" # noqa: E501
self._doi = None
@@ -70,6 +76,9 @@ class ReleaseExtIds(object):
self._jstor = None
self._ark = None
self._mag = None
+ self._doaj = None
+ self._dblp = None
+ self._oai = None
self.discriminator = None
if doi is not None:
@@ -92,6 +101,12 @@ class ReleaseExtIds(object):
self.ark = ark
if mag is not None:
self.mag = mag
+ if doaj is not None:
+ self.doaj = doaj
+ if dblp is not None:
+ self.dblp = dblp
+ if oai is not None:
+ self.oai = oai
@property
def doi(self):
@@ -323,6 +338,75 @@ class ReleaseExtIds(object):
self._mag = mag
+ @property
+ def doaj(self):
+ """Gets the doaj of this ReleaseExtIds. # noqa: E501
+
+ DOAJ article-level identifier # noqa: E501
+
+ :return: The doaj of this ReleaseExtIds. # noqa: E501
+ :rtype: str
+ """
+ return self._doaj
+
+ @doaj.setter
+ def doaj(self, doaj):
+ """Sets the doaj of this ReleaseExtIds.
+
+ DOAJ article-level identifier # noqa: E501
+
+ :param doaj: The doaj of this ReleaseExtIds. # noqa: E501
+ :type: str
+ """
+
+ self._doaj = doaj
+
+ @property
+ def dblp(self):
+ """Gets the dblp of this ReleaseExtIds. # noqa: E501
+
+ dblp (https://dblp.uni-trier.de/) paper identifier; eg for conference proceedings # noqa: E501
+
+ :return: The dblp of this ReleaseExtIds. # noqa: E501
+ :rtype: str
+ """
+ return self._dblp
+
+ @dblp.setter
+ def dblp(self, dblp):
+ """Sets the dblp of this ReleaseExtIds.
+
+ dblp (https://dblp.uni-trier.de/) paper identifier; eg for conference proceedings # noqa: E501
+
+ :param dblp: The dblp of this ReleaseExtIds. # noqa: E501
+ :type: str
+ """
+
+ self._dblp = dblp
+
+ @property
+ def oai(self):
+ """Gets the oai of this ReleaseExtIds. # noqa: E501
+
+ OAI-PMH identifier; only used when an OAI-PMH record is the only authoritative metadata (eg, journal OAI-PMH feeds w/o DOIs) # noqa: E501
+
+ :return: The oai of this ReleaseExtIds. # noqa: E501
+ :rtype: str
+ """
+ return self._oai
+
+ @oai.setter
+ def oai(self, oai):
+ """Sets the oai of this ReleaseExtIds.
+
+ OAI-PMH identifier; only used when an OAI-PMH record is the only authoritative metadata (eg, journal OAI-PMH feeds w/o DOIs) # noqa: E501
+
+ :param oai: The oai of this ReleaseExtIds. # noqa: E501
+ :type: str
+ """
+
+ self._oai = oai
+
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}