Skip to content

[BUG](system) Fix missing return in BBox dict validator#462

Merged
Victor Schappert (vcschapp) merged 1 commit intodevfrom
fix-bbox-dict-return
Mar 11, 2026
Merged

[BUG](system) Fix missing return in BBox dict validator#462
Victor Schappert (vcschapp) merged 1 commit intodevfrom
fix-bbox-dict-return

Conversation

@sethfitz
Copy link
Copy Markdown
Collaborator

The dict branch of the Pydantic validator in BBox.__get_pydantic_core_schema__ constructed a BBox from the dict but didn't return it, silently producing None. Add the missing return statement.

The test parametrize case for dict input covers this path.

The dict branch of the Pydantic validator in BBox.__get_pydantic_core_schema__
constructed a BBox from the dict but didn't return it, silently producing
None. Add the missing return statement.

The test parametrize case for dict input covers this path.
@sethfitz Seth Fitzsimmons (sethfitz) changed the title [FIX] Fix missing return in BBox dict validator [BUG](system) Fix missing return in BBox dict validator Mar 10, 2026
@vcschapp Victor Schappert (vcschapp) merged commit 709b6c2 into dev Mar 11, 2026
6 of 10 checks passed
@vcschapp Victor Schappert (vcschapp) deleted the fix-bbox-dict-return branch March 11, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants