Skip to content

Conversation

@mjohanse-emr
Copy link
Contributor

@mjohanse-emr mjohanse-emr commented Jul 25, 2025

What does this Pull Request accomplish?

  • Creates a new Vector class that is similar to the Scalar class except it contains a list of values along with units and attributes.
  • This Vector class subclasses MutableSequence.
  • Clients don't have access to the raw list of values, but they can use bracket indexing, iteration, or copying to get the values.
  • Creates unit tests to cover the Vector class.

Why should this Pull Request be merged?

Implements AB#3209791

What testing has been done?

Unit tests, mypy, pyright, styleguide

Signed-off-by: Michael Johansen <michael.johansen@ni.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jul 25, 2025

Test Results

    44 files  ±    0      44 suites  ±0   19m 6s ⏱️ -14s
 1 819 tests +   79   1 819 ✅ +   79  0 💤 ±0  0 ❌ ±0 
41 213 runs  +1 817  41 213 ✅ +1 817  0 💤 ±0  0 ❌ ±0 

Results for commit 410a1d2. ± Comparison against base commit 36eee3c.

♻️ This comment has been updated with latest results.

Michael Johansen added 4 commits July 29, 2025 14:49
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Copy link
Collaborator

@jfriedri-ni jfriedri-ni left a comment

Choose a reason for hiding this comment

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

It looks like we have a few remaining behavior decisions to make.

…ack.

Signed-off-by: Michael Johansen <michael.johansen@ni.com>
…e match checks in set_item.

Signed-off-by: Michael Johansen <michael.johansen@ni.com>
Signed-off-by: Michael Johansen <michael.johansen@ni.com>
@mjohanse-emr mjohanse-emr merged commit db62a56 into main Aug 4, 2025
28 checks passed
@mjohanse-emr mjohanse-emr deleted the users/mjohanse/add_vector branch August 4, 2025 16:27
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.

6 participants