Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ https://github.com/OpenAPITools/openapi-generator/blob/c84b949df1a9ec04ba75989cb
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def sanitize_for_serialization(self, obj):
return self.sanitize_for_serialization(obj_dict)


def deserialize(self, response_text: str, response_type: str, content_type: Optional[str]):
def deserialize(self, response_text: str, response_type: Union[str, object], content_type: Optional[str]):
"""Deserializes response into an object.

:param response: RESTResponse object to be deserialized.
Expand Down
Loading