Skip to content

Commit

Permalink
Merge branch 'main' into validate_schema
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
  • Loading branch information
zFernand0 authored Sep 27, 2023
2 parents b824ac0 + 59498a3 commit a7e61a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ All notable changes to the Zowe Client Python SDK will be documented in this fil

## Recent Changes

- BugFix: Validation of zowe.config.json file matching the schema [#192](https://github.com/zowe/zowe-client-python-sdk/issues/192)
- Feature: Added method to load profile properties from environment variables
- Feature: Added a CredentialManager class to securely retrieve values from credentials and manage multiple credential entries on Windows [#134](https://github.com/zowe/zowe-client-python-sdk/issues/134)
- Bugfix: Fixed issue for datasets and jobs with special characters in URL [#211] (https://github.com/zowe/zowe-client-python-sdk/issues/211)
- Feature: Added method to load profile properties from environment variables
- Bugfix: Fixed exception handling in session.py [#213] (https://github.com/zowe/zowe-client-python-sdk/issues/213)
- BugFix: Validation of zowe.config.json file matching the schema [#192](https://github.com/zowe/zowe-client-python-sdk/issues/192)
4 changes: 2 additions & 2 deletions src/core/zowe/core_for_zowe_sdk/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, props: dict) -> None:
if props.get("host") is not None:
self.session: ISession = ISession(host=props.get("host"))
else:
raise "Host must be supplied"
raise Exception("Host must be supplied")

# determine authentication type
if props.get("user") is not None and props.get("password") is not None:
Expand All @@ -61,7 +61,7 @@ def __init__(self, props: dict) -> None:
self.session.tokenValue = props.get("tokenValue")
self.session.type = session_constants.AUTH_TYPE_BEARER
else:
raise "An authentication method must be supplied"
raise Exception("An authentication method must be supplied")

# set additional parameters
self.session.basePath = props.get("basePath")
Expand Down

0 comments on commit a7e61a9

Please sign in to comment.