You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BlueapiClient doesn't report the correct default values or display types for plans #1505
It is showing that num default is None and delay is None when in fact this is actually 1 and zero as shown below.
@attach_data_session_metadata_decorator()@validate_call(config={"arbitrary_types_allowed": True})defcount(
detectors: Annotated[
set[Readable],
Field(
description="Set of readable devices, will take a reading at each point",
min_length=1,
),
],
num: Annotated[int, Field(description="Number of frames to collect", ge=1)] =1,
delay: Annotated[
NonNegativeFloat|Sequence[NonNegativeFloat],
Field(
description="Delay between readings: if tuple, len(delay) == num - 1 and \ the delays are between each point, if value or None is the delay for every \ gap",
json_schema_extra={"units": "s"},
),
] =0.0,
metadata: dict[str, Any] |None=None,
) ->MsgGenerator:
Activity
feat: Improve BlueapiClient to add plan parameter type hints (Diamond…