Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jul 28, 2023
Merged

Conversation

bfineran
Copy link
Contributor

@bfineran bfineran commented Jul 28, 2023

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants