Skip to content

Conversation

@dixonjoel
Copy link
Collaborator

@dixonjoel dixonjoel commented Nov 3, 2025

What does this Pull Request accomplish?

Updates the dependencies on the data.client and metadata.client packages to be the latest versions. This includes some name changes and field changes / additions we want to uptake.

Why should this Pull Request be merged?

Keep our API matching the .proto gRPC API.

What testing has been done?

PR passing with tests. Will manually verify notebooks / examples.

@dixonjoel dixonjoel mentioned this pull request Nov 4, 2025
1 task
@dixonjoel dixonjoel marked this pull request as ready for review November 4, 2025 19:51
@dixonjoel dixonjoel requested a review from csjall as a code owner November 4, 2025 19:51
Copilot AI review requested due to automatic review settings November 4, 2025 19:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR standardizes field naming across the codebase by removing redundant prefixes from attribute names in data and metadata types. The changes update field names like operator_name to name, test_station_name to name, step_name to name, etc., making the API more concise while maintaining clarity through object types. The PR also updates dependencies to newer versions and adds new fields (error_information, outcome) to Step and TestResult types.

  • Renamed attributes to remove redundant type prefixes (e.g., operator_namename)
  • Added error_information and outcome fields to Step type
  • Added error_information field to TestResult type
  • Updated measurement and condition field names (measurement_namename, condition_namename)
  • Updated proto client dependencies to version 0.2.0.dev0
  • Updated all tests and examples to use new naming conventions

Reviewed Changes

Copilot reviewed 38 out of 40 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/ni/datastore/metadata/_types/*.py Updated metadata type classes to use simplified field names
src/ni/datastore/data/_types/*.py Updated data type classes with new field names and added error/outcome fields
tests/unit/**/*.py Updated unit tests to use new field naming
tests/acceptance/*.py Updated acceptance tests to use new field naming
pyproject.toml Updated proto client dependencies to 0.2.0.dev0
poetry.lock Updated dependency versions
examples/**/*.py, *.ipynb Updated examples to use new field naming

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dixonjoel dixonjoel requested a review from hunter-ni November 4, 2025 19:57
Copy link
Contributor

@hunter-ni hunter-ni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve with Suggestions. Just let me know if you want to discuss or want me to look again.

@dixonjoel dixonjoel merged commit b9f27f9 into main Nov 4, 2025
23 checks passed
@dixonjoel dixonjoel deleted the users/jdixon/update-data-and-metadata branch November 4, 2025 21:21
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.

4 participants