Skip to content

Conversation

calgray
Copy link

@calgray calgray commented Oct 13, 2025

This change largely adds support for passing coordinates to DatasetSchema. This additionally involves:

  • Extending test_component_raises_schema_error to support multiple schema arguments and add more test cases. This allows testing CoordsSchema and AttrsSchema with allow_extra_keys and require_all_keys.
  • Updated _json_schema for dataset, coords, and attrs to be explicit about required and additional properties based on constructor signatures. This allows restoring the JSON schema assertions in tests.
  • Adjusted AttrsSchema validation message and added test case.

Also, thank you for this great pandera-like library 💯

@calgray
Copy link
Author

calgray commented Oct 16, 2025

Related to #187

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