Skip to content

Commit

Permalink
Merge pull request #246 from zowe/fix/correlator-issue-242
Browse files Browse the repository at this point in the history
Fix/correlator issue 242
  • Loading branch information
zFernand0 authored Jan 9, 2024
2 parents 7c11a84 + ed19194 commit c4e2a20
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
9 changes: 4 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
}
},
"python.testing.pytestArgs": ["tests"],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
},
"python.testing.pytestArgs": ["tests"],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ All notable changes to the Zowe Client Python SDK will be documented in this fil

### Bug Fixes

- Fixed 'create_data_set' to accept "FBA", "FBM", "VBA", "VBM" as valid recfm [#240](https://github.com/zowe/zowe-client-python-sdk/issues/240)
- Return response instead of raw from streamed requests
- Fixed `create_data_set` to accept "FBA", "FBM", "VBA", "VBM" as valid recfm [#240](https://github.com/zowe/zowe-client-python-sdk/issues/240)
- Fixed an issue with `list_jobs` user correlator parameter [#242](https://github.com/zowe/zowe-client-python-sdk/issues/242)
- Return response instead of raw from streamed requests [#245](https://github.com/zowe/zowe-client-python-sdk/pull/245)

## `1.0.0-dev12`

Expand Down
3 changes: 2 additions & 1 deletion src/zos_jobs/zowe/zos_jobs_for_zowe_sdk/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def list_jobs(self, owner=None, prefix="*", max_jobs=1000, user_correlator=None)
"""
custom_args = self._create_custom_request_arguments()
params = {"prefix": prefix, "max-jobs": max_jobs}
params["owner"] = owner if owner else self.session.user
if owner:
params["owner"] = owner
if user_correlator:
params["user-correlator"] = user_correlator
custom_args["params"] = params
Expand Down

0 comments on commit c4e2a20

Please sign in to comment.