Skip to content

Commit

Permalink
Update request_handler.py
Browse files Browse the repository at this point in the history
Signed-off-by: pem70 <[email protected]>
pem70 committed Jul 15, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent fe4548f commit c1c8833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/zowe/core_for_zowe_sdk/request_handler.py
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
Copyright Contributors to the Zowe Project.
"""

from typing import Optional
from typing import Union

import requests
import urllib3
@@ -134,7 +134,7 @@ def __validate_response(self):
)
raise RequestFailed(self.__response.status_code, output_str)

def __normalize_response(self) -> str | bytes | dict:
def __normalize_response(self) -> Union[str, bytes, dict]:
"""Normalize the response object to a JSON format.
Returns

0 comments on commit c1c8833

Please sign in to comment.