Skip to content

Conversation

@mjohanse-emr
Copy link
Contributor

What does this Pull Request accomplish?

Adds DoubleAnalogWaveformConverter and ScalarDataConverter to the list of converters supported by _convert.py's to_any() and from_any() functions.

I also addressed some feedback that Brad gave after my last PR was submitted.
#86 (comment)

Why should this Pull Request be merged?

These converters need to be included in _convert.py so that values read and written to the panel can use these converters.

What testing has been done?

I added unit tests to check the to_any() and from_any() codepaths for these converters. The tests are simple because more complex conversion tests are handled in test_protobuf_type_conversion.py.

Unit tests, mypy, styleguide.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 20, 2025

Test Results

   10 files  ± 0     10 suites  ±0   19s ⏱️ -3s
  150 tests + 4    150 ✅ + 4  0 💤 ±0  0 ❌ ±0 
1 470 runs  +40  1 470 ✅ +40  0 💤 ±0  0 ❌ ±0 

Results for commit 597eab5. ± Comparison against base commit f11d190.

♻️ This comment has been updated with latest results.

Signed-off-by: Michael Johansen <[email protected]>
@mjohanse-emr mjohanse-emr merged commit d2a957b into main Jun 20, 2025
14 checks passed
@mjohanse-emr mjohanse-emr deleted the users/mjohanse/add_pbtypes_to_convert branch June 20, 2025 20:36
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.

3 participants