Skip to content

Use typed parameter values in the examples - #8683

Merged
Jens Hedegaard Nielsen (jenshnielsen) merged 1 commit into
microsoft:mainfrom
jenshnielsen:typed_parameter_values_in_examples
Oct 28, 2026
Merged

Jens Hedegaard Nielsen (jenshnielsen) merged 1 commit into
microsoft:mainfrom
jenshnielsen:typed_parameter_values_in_examples

Conversation

@jenshnielsen

Copy link
Copy Markdown
Collaborator

The on/off parameters of these drivers are now annotated as bool, so pass True and False rather than the strings and integers that the on/off value mapping also accepts. The mapping sends the same command for both. The state of a Rigol DG1062 channel is annotated as str and sent as is, so pass "ON" to turn the output on.

The on/off parameters of these drivers are now annotated as bool, so
pass True and False rather than the strings and integers that the
on/off value mapping also accepts. The mapping sends the same command
for both. The state of a Rigol DG1062 channel is annotated as str and
sent as is, so pass "ON" to turn the output on.
@codecov

codecov Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.02%. Comparing base (b7ac5bc) to head (8118a5f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8683   +/-   ##
=======================================
  Coverage   75.02%   75.02%           
=======================================
  Files         307      307           
  Lines       32506    32506           
=======================================
  Hits        24389    24389           
  Misses       8117     8117           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Merged via the queue into microsoft:main with commit 18fcd29 Oct 28, 2026
19 checks passed
@jenshnielsen
Jens Hedegaard Nielsen (jenshnielsen) deleted the typed_parameter_values_in_examples branch October 28, 2026 09:28
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.

2 participants