Skip to content

Fix non-multichannel sessions mixing up positional args#129

Merged
J-Jaywalker merged 4 commits intomasterfrom
fix_client_for_non_multichannel
Jun 9, 2025
Merged

Fix non-multichannel sessions mixing up positional args#129
J-Jaywalker merged 4 commits intomasterfrom
fix_client_for_non_multichannel

Conversation

@J-Jaywalker
Copy link
Copy Markdown
Contributor

@J-Jaywalker J-Jaywalker commented Jun 9, 2025

The way we were parsing multichannel args meant that unless users were explicitly passing in arguments, we would get a positional mixup.

This change combines stream and channel pairs and stream into a union which is then typechecked later, preserving the way customers currently use the SDK.

Closes https://speechmatics.atlassian.net/browse/DEL-26682

@dumitrugutu
Copy link
Copy Markdown
Contributor

LGTM

@J-Jaywalker J-Jaywalker merged commit 9a2795a into master Jun 9, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants