| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Update TraceParameter, SweepTraceParameter to use Unpack[ParameterKWArgs] and FrequencySweep to use Unpack[ParameterBaseKWArgs], removing explicit instrument parameter in favor of flowing it through the typed kwargs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update _ParameterWithStatus to use Unpack[ParameterKWArgs]. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update S46Parameter to use Unpack[ParameterKWArgs] with concrete instrument type. Update DataArray7510 to use Unpack[ParameterBaseKWArgs] and GeneratedSetPoints to use Unpack[ParameterKWArgs] with explicit name param. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update _ParameterWithStatus, SamplingMeasurement, IVSweepMeasurement, and KeysightB1500CVSweepMeasurement to use Unpack[ParameterKWArgs] or Unpack[ParameterBaseKWArgs] with concrete instrument types, removing explicit instrument parameters. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update DSOTimeAxisParam, DSOFrequencyAxisParam to use Unpack[ParameterKWArgs] with explicit name param. Update DSOTraceParam to use Unpack[ParameterKWArgs] with concrete instrument union type, removing explicit instrument parameter. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update PNAAxisParameter and FormattedSweep to use Unpack[ParameterKWArgs] with explicit name param and concrete instrument types, removing explicit instrument/label/unit parameters. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update FrequencyAxis and Trace to use Unpack[ParameterKWArgs] with generic instrument type params and explicit name param, replacing *args: Any. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update KeysightE4980AMeasurementPair to use Unpack[ParameterBaseKWArgs]. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update TimeTrace to use Unpack[ParameterKWArgs] with concrete Keysight344xxA instrument type, removing explicit instrument parameter. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update SR830 ChannelTrace and GeneratedSetPoints to use Unpack[ParameterKWArgs]. Update SR86x SR86xBufferReadout to use Unpack[ParameterBaseKWArgs], removing explicit instrument parameter. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update ZNB (6 parameter subclasses) and RTO1000 ScopeTrace to use Unpack[ParameterBaseKWArgs] with concrete instrument types, removing explicit instrument parameters and extracting instrument via kwargs.get() + assert when needed before super().__init__(). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update ScopeArray to use Unpack[ParameterBaseKWArgs] with concrete TPS2012Channel instrument type. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update FrequencySweepMagPhase, PointMagPhase, and PointIQ to use Unpack[ParameterBaseKWArgs] with concrete CopperMountainM5xxx instrument type, extracting instrument via kwargs.get() + assert for label building before super().__init__(). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update QDevQDacMultiChannelParameter to use Unpack[ParameterBaseKWArgs] with concrete QDevQDacChannel instrument type. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update ~12 parameter subclasses (DmmExponentialParameter, DmmGaussParameter, MultiSetPointParam, Multi2DSetPointParam, Multi2DSetPointParam2Sizes, MultiScalarParam, ArraySetPointParam, ComplexArraySetPointParam, GeneratedSetPoints, DummyParameterWithSetpoints1D/2D/Complex) to use Unpack[ParameterKWArgs] or Unpack[ParameterBaseKWArgs] with concrete instrument types. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Codecov Report❌ Patch coverage is 74.57143% with 89 lines in your changes missing coverage. Please review. @@ Coverage Diff @@
## main #8051 +/- ##
==========================================
+ Coverage 70.59% 70.62% +0.02%
==========================================
Files 333 333
Lines 32490 32785 +295
==========================================
+ Hits 22936 23154 +218
- Misses 9554 9631 +77 ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
…etpoints kwargs Add ArrayParameterKWArgs, MultiParameterKWArgs, and ParameterWithSetpointsKWArgs TypedDicts to document and type-check keyword arguments for these parameter classes. Export all three from qcodes.parameters.__init__. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update ParameterWithSetpoints subclasses in instrument drivers to use Unpack[ParameterWithSetpointsKWArgs] instead of **kwargs: Any for improved type safety and documentation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Import Validator from qcodes.validators instead of parameter_base (not explicitly exported) in array_parameter, multi_parameter, and parameter_with_setpoints modules. - Fix FrequencyAxis in Keysight_N9030B to use ParameterKWArgs instead of ParameterWithSetpointsKWArgs (it extends Parameter, not ParameterWithSetpoints). - Suppress unused type: ignore warning in RTO1000 for pyright-specific error code. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update all 6 parameter subclasses (5 MultiParameter, 1 ArrayParameter) to accept the full typed kwargs for their parent class, using the dict(kwargs)/setdefault pattern to provide defaults. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
No description provided.