-
Notifications
You must be signed in to change notification settings - Fork 0
Add Support for Batch Publishing Non-Scalar Measurement Values #133
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
Merged
hunter-ni
merged 30 commits into
main
from
users/hunter-ni/publish-measurement-batch-non-scalar
May 28, 2026
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
e0bca01
Initial Implementation Work - Add ability to populate PublishMeasurem…
hunter-ni 7aaf379
Adding test cases for unexpected dtype
hunter-ni 3a34263
Adding more tests for mismatched dtypes.
hunter-ni 335e0d7
Single-source type checking logic for populating PublishMeasurementBa…
hunter-ni 22c581b
Adding tests for populating PublishMeasurementBatchRequest from other…
hunter-ni 07ee6a7
Strengthen test assertions in error cases
hunter-ni bdd5a08
Adding further test cases for error scenarios when populating Publish…
hunter-ni b54be78
Adding acceptance tests for successfully publishing non-scalar measur…
hunter-ni 0f554ad
Refactor - change 'if' statements to 'else if' statements for greater…
hunter-ni 2cdf3dc
Update 'ni.measurements.data.v1.client' dependency version
hunter-ni b2b931d
Update PublishConditionBatch test name for consistency with PublishMe…
hunter-ni e183efa
Adding example for publish_condition_batch and publish_measurement_batch
hunter-ni f6e0816
Run linter and fix style errors
hunter-ni ad142e1
Adding type-check assertions on PublishMeasurementBatchRequest popula…
hunter-ni 4696c15
Remove unnecessary list wrappers from acceptance tests
hunter-ni ebe4dc6
Update acceptance test names for clarity
hunter-ni 99ca7a9
Convert separate if statements to else-if statements for consistency
hunter-ni 96e2cea
Add test case for supplying a non-iterable
hunter-ni c8260f5
Review feedback - update documentation.
hunter-ni 1a4d952
Review feedback - Simplify construction of 'scalar_values'
hunter-ni 31748d5
Review feedback - Parameterize several existing unit tests
hunter-ni 9044ef2
Review feedback - Fix code analysis issue
hunter-ni c555417
Review feedback - Make more tests parameterized
hunter-ni 77d7114
Review feedback - Split populate_publish_measurement_batch_request_va…
hunter-ni 1c0f0cc
Fix code analysis (type hint) issue
hunter-ni 9440668
Avoid instantiation of intermediary list from inputted values.
hunter-ni f83e258
Simplification of iteration logic in populate_publish_measurement_bat…
hunter-ni e2e0df8
Reversion of previous simplification to ensure support for Iterables …
hunter-ni 4daff9c
Fix case of populate_publish_condition_batch_request_values not suppo…
hunter-ni 2b403d1
Adding test cases for batch condition publishing.
hunter-ni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 file contains hidden or 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 file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.