Skip to content

fix: broken store loading if properties is nested#281

Merged
henryiii merged 1 commit into
abravalheri:mainfrom
henryiii:henryiii/fix/pytest
Nov 21, 2025
Merged

fix: broken store loading if properties is nested#281
henryiii merged 1 commit into
abravalheri:mainfrom
henryiii:henryiii/fix/pytest

Conversation

@henryiii
Copy link
Copy Markdown
Collaborator

@henryiii henryiii commented Nov 17, 2025

The new pytest schema has properties nested inside a oneOf, so this fixes a failure loading via --store and should fix our CI. The fix just removes the error when encountering this situation, and doesn't look inside for ref's. We could also handle this case, but there aren't any examples of needed nested schema ref's inside one yet, and I think this would be easier less horrible to program once we have 3.10+ as a minimum (I think it might be easy to write as a pattern match).

Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
@henryiii henryiii merged commit 4d2e2bf into abravalheri:main Nov 21, 2025
22 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.

1 participant