diff --git a/CHANGELOG.md b/CHANGELOG.md index d5cef13d..7778280e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,19 @@ All notable changes to the Zowe Client Python SDK will be documented in this file. +## Recent Changes + +### Enhancements + +### Bug Fixes + +- Fixed a bug on `_create_custom_request_arguments` where changes on `custom_args` will stay after the function returns [#299](https://github.com/zowe/zowe-client-python-sdk/issues/299) + ## `1.0.0-dev16` ### Enhancements -- Rename Python SDK bundle [#286](https://github.com/zowe/zowe-client-python-sdk/issues/286) +- Renamed Python SDK bundle [#286](https://github.com/zowe/zowe-client-python-sdk/issues/286) - Added logger class to core SDK [#185](https://github.com/zowe/zowe-client-python-sdk/issues/185) - Added classes for handling `Datasets`, `USSFiles`, and `FileSystems` in favor of the single Files class. [#264](https://github.com/zowe/zowe-client-python-sdk/issues/264) - Refactored tests into proper folders and files and add more tests [#265](https://github.com/zowe/zowe-client-python-sdk/issues/265) diff --git a/src/core/zowe/core_for_zowe_sdk/sdk_api.py b/src/core/zowe/core_for_zowe_sdk/sdk_api.py index 2ac79555..2ca678b6 100644 --- a/src/core/zowe/core_for_zowe_sdk/sdk_api.py +++ b/src/core/zowe/core_for_zowe_sdk/sdk_api.py @@ -10,6 +10,7 @@ Copyright Contributors to the Zowe Project. """ +import copy import urllib from . import session_constants @@ -66,7 +67,7 @@ def _create_custom_request_arguments(self): This method is required because the way that Python handles dictionary creation """ - return self._request_arguments.copy() + return copy.deepcopy(self._request_arguments) def _encode_uri_component(self, str_to_adjust): """Adjust string to be correct in a URL