Skip to content

refactor(client): drop compute size string helper - #22

Merged
fvaleye merged 1 commit into
mainfrom
fl/drop-compute-size-helper
Oct 15, 2026
Merged

fvaleye merged 1 commit into
mainfrom
fl/drop-compute-size-helper

Conversation

@fvaleye

@fvaleye fvaleye commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up: simplify by removing the helper and using the enum directly.

ComputeSize mixes in str, so its members already are the string values
protobuf expects. Pass compute_size straight to SessionOptionValue
instead of unwrapping it through _compute_size_value.
@fvaleye
fvaleye requested review from redox and utay October 15, 2026 13:49
@fvaleye
fvaleye merged commit 57741b9 into main Oct 15, 2026
6 checks passed
@fvaleye
fvaleye deleted the fl/drop-compute-size-helper branch October 15, 2026 14:16
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.

2 participants