Skip to content

fix(session): return None from ModelMetadata::custom when the key is missing - #644

Merged
decahedron1 merged 1 commit into
pykeio:mainfrom
onuralpszr:fix-metadata-custom-missing
Sep 29, 2026
Merged

decahedron1 merged 1 commit into
pykeio:mainfrom
onuralpszr:fix-metadata-custom-missing

Conversation

@onuralpszr

Copy link
Copy Markdown
Contributor

ONNX Runtime gives back a null pointer for a missing key, which was turned into an empty string, so custom returned Some("") instead of None, this checks for null first and adds a test.

@decahedron1
decahedron1 merged commit 74a5c2a into pykeio:main Sep 29, 2026
18 checks passed
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