From a95655747805741836bfffc36c0597342c1ccea7 Mon Sep 17 00:00:00 2001 From: Doug Addy Date: Mon, 4 Apr 2022 17:24:18 +0100 Subject: [PATCH 1/2] Bump version for release --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6b38c40d..be2fe718 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ansys-openapi-common" description = "Provides a helper to create sessions for use with Ansys OpenAPI clients." -version = "1.0.0" +version = "1.1.0" license = "MIT" authors = ["ANSYS, Inc."] maintainers = ["PyAnsys Maintainers "] From fd222575fdac1c37350f5b2fd59528acb1c7a578 Mon Sep 17 00:00:00 2001 From: Doug Addy Date: Mon, 4 Apr 2022 17:33:40 +0100 Subject: [PATCH 2/2] Fix documentation snags - Mismatched quotes in granta.py - Surplus backtick in _api_client.py --- src/ansys/openapi/common/_api_client.py | 2 +- src/ansys/openapi/common/_contrib/granta.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ansys/openapi/common/_api_client.py b/src/ansys/openapi/common/_api_client.py index 6d733d12..d62c11d6 100644 --- a/src/ansys/openapi/common/_api_client.py +++ b/src/ansys/openapi/common/_api_client.py @@ -284,7 +284,7 @@ def deserialize( For responses that are in JSON format, this method processes the response and returns it: * If ``response_type`` is ``file``, save the content to a temporary file and return the file name. - * If ``response_type`` is :class:`datetime.datetime` or :class:`datetime.date``, parse the string and return the + * If ``response_type`` is :class:`datetime.datetime` or :class:`datetime.date`, parse the string and return the ``datetime`` object. * If ``response_type`` is ``list``, recursively deserialize the list contents. * If ``response_type`` is ``dict``, recursively deserialize the dictionary keys and values. diff --git a/src/ansys/openapi/common/_contrib/granta.py b/src/ansys/openapi/common/_contrib/granta.py index 3dbfdb48..de5dd497 100644 --- a/src/ansys/openapi/common/_contrib/granta.py +++ b/src/ansys/openapi/common/_contrib/granta.py @@ -17,7 +17,7 @@ def create_session_from_granta_stk( api_session_configuration : SessionConfiguration, optional Additional configuration settings for the requests session when connected to the Granta MI Service Layer. idp_session_configuration : SessionConfiguration, optional - Additional configuration settings for the ""Requests`` session when connected to the OpenID identity provider. + Additional configuration settings for the ``Requests`` session when connected to the OpenID identity provider. Notes -----