You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provides the functionality to validate against a remote schema hosted on github by github reference (e.g. master HEAD, version tag, etc.). It also pulls out a "spec" as a class object to make it easier to pass around and abstract the differences between getting a spec from Github vs Local files.
This PR also:
- formats code per pre-commit
- refactors apply_schema_to_df into smaller functions
- updates errors and warning to be more helpful (pointing to files, etc)
- adds tests for field constraints in constraint_tests.py
- adds assert statements to basic_tests.py
Closes#25Closes#26
NOTE: Tests failing due to zephyr-data-specs/GMNS#70
I'd like to be able to validate my data based on a specific version of the GMNS spec, including the latest.
Implementation Idea
Pull spec by its tagged release version or main HEAD (latest) to validate to.
Dependent on #25
The text was updated successfully, but these errors were encountered: