Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
Signed-off-by: aadityasinha-dotcom <[email protected]>
  • Loading branch information
aadityasinha-dotcom committed Aug 28, 2024
1 parent 149a5e3 commit b3dfaed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/core/zowe/core_for_zowe_sdk/sdk_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class SdkApi:
Default url used for session
logger_name : str
Name of the logger (same as the filename by default)
log : boolean
Flag to disable logger
"""

def __init__(self, profile: dict, default_url: str, logger_name: str = __name__, log = True):
Expand Down
2 changes: 1 addition & 1 deletion src/zos_files/zowe/zos_files_for_zowe_sdk/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ class Datasets(SdkApi):
"""

def __init__(self, connection: dict, log = True):
super().__init__(connection, "/zosmf/restfiles/", logger_name=__name__)
super().__init__(connection, "/zosmf/restfiles/", logger_name=__name__, log=log)
self._default_headers["Accept-Encoding"] = "gzip"

def list(self, name_pattern: str, return_attributes: bool = False) -> DatasetListResponse:
Expand Down
2 changes: 1 addition & 1 deletion src/zos_files/zowe/zos_files_for_zowe_sdk/uss.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class USSFiles(SdkApi):
"""

def __init__(self, connection: dict, log = True):
super().__init__(connection, "/zosmf/restfiles/", logger_name=__name__)
super().__init__(connection, "/zosmf/restfiles/", logger_name=__name__, log=log)
self._default_headers["Accept-Encoding"] = "gzip"

def list(self, path: str) -> USSListResponse:
Expand Down

0 comments on commit b3dfaed

Please sign in to comment.