-
Notifications
You must be signed in to change notification settings - Fork 0
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
Common PR for new range serach for level and period #161
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit 5c00783.
* Add converstion of iso duration to seconds * Fix parsing error * Change to model validator
…:EURODEO/e-soh into merge-backend-duration-and-level-changes
This change adds partial support for reflectable metadata fields of type int64, with the ts metadata field 'period' as the first example. This is a basis for later supporting efficient range filtering. The following two caveats apply for now: [1] the default int64 value of 0 is omitted from the output (since protoc puts 'omitempty' for all fields in the generated file); [2] it is not possible to filter at all on reflectable int64 fields. Both will be addressed in later commits.
Reflectable (i.e. handleable with Golang reflection) metadata fields are now supported with both range search (lo <= x <= hi) and regular string search (str(x) matching "12", "12*" etc.).
…4-periods-and-levels-as-int
* Reject if duration not convertable to seconds and fix error occured due to change in attributes type in protobuf * remove string constraints from period
…_filter Updated proto file
…:EURODEO/e-soh into merge-backend-duration-and-level-changes
…:EURODEO/e-soh into merge-backend-duration-and-level-changes
* fix level and period for mqtt * fix warnings due to period conversions. * fix type error in send_message. * change attribute name in model.py
fjugipe
reviewed
Sep 27, 2024
Update exeption to ISO8601Error.
Jeffrey-Vervoort-KNMI
approved these changes
Oct 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR will serve as a common place to merge all issues realted to #151 #152 #155 #154 #158 since these issues demand changes in functionality in all 3 services.