Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

[bugfix] qa tests - KeyError: 'num_cores'#1152

Merged
bfineran merged 2 commits into
mainfrom
pipeline-kwarg-patch-1
Jul 28, 2023
Merged

[bugfix] qa tests - KeyError: 'num_cores'#1152
bfineran merged 2 commits into
mainfrom
pipeline-kwarg-patch-1

Conversation

@bfineran

@bfineran bfineran commented Jul 28, 2023

Copy link
Copy Markdown
Contributor

if num_cores is not an explicit kwarg of a bucketing pipeline it will trigger a key error on the changed line. this PR uses .get to default the value to None (this is the expected default of Context)

adds support for num_streams as well

test_plan
covered by pytest tests

if num_cores is not an explicit kwarg of a bucketing pipeline it will trigger a key error on the changed line. this PR uses `.get` to default the value to `None` (this is the expected default of `Context`)
@bfineran bfineran self-assigned this Jul 28, 2023
rahul-tuli
rahul-tuli previously approved these changes Jul 28, 2023
@bfineran bfineran merged commit 2c9035e into main Jul 28, 2023
@bfineran bfineran deleted the pipeline-kwarg-patch-1 branch July 28, 2023 18:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants