Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ansys/openapi/common/_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ``datetime.date`` or ``datetime.datetime``, 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.
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/openapi/common/_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ApiException(Exception):
body : str, optional
Content of the response provided by the server. The default is ``None``.
headers : CaseInsensitiveDict, optional
Response headers provided by the server. The defeault is ``None``.
Response headers provided by the server. The default is ``None``.
"""

status_code: int
Expand Down