Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update qc test schema #42

Merged
merged 3 commits into from
Jan 14, 2025
Merged

feat: update qc test schema #42

merged 3 commits into from
Jan 14, 2025

Conversation

iamsegl
Copy link
Collaborator

@iamsegl iamsegl commented Jan 13, 2025

This PR renames test_name to long_name since this is what it’s called in the metocean package, and is in-line with long_name field for Parameters.

It also renames default_parameters to default_variables to avoid confusions with the atmos Parameters

It also adds new types to the default_variables to accommodate the different types required by the q -tests in the metocean package

It also changes the List[QCTest] to Dict[str, QCTest] in the ParameterConfig schema, so that the tests associated with a Parameter can be searched by id. This will be useful in future apis which need to modify and delete qc-tests from a parameter instance.

Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  atmos_validation/schemas
  parameter_config.py
Project Total  

This report was generated by python-coverage-comment-action

@iamsegl iamsegl requested a review from simentha January 13, 2025 14:50
@iamsegl iamsegl merged commit ec6670c into main Jan 14, 2025
10 checks passed
iamsegl pushed a commit that referenced this pull request Jan 14, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.8.0](v1.7.0...v1.8.0)
(2025-01-14)


### Features

* update qc test schema
([#42](#42))
([ec6670c](ec6670c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
@iamsegl iamsegl deleted the update-qctest branch January 16, 2025 12:15
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