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
class Sensor(StandardReadable, EpicsDevice):
"""A demo sensor that produces a scalar value based on X and Y Movers"""
value: A[SignalR[float], PvSuffix("Value"), Format.HINTED_SIGNAL]
mode: A[SignalRW[EnergyMode], PvSuffix("Mode"), Format.CONFIG_SIGNAL]
I am not sure it is clear that A refers to typing.Annotated, as the import alias is not shown.
Acceptance Criteria:
The documentation should be readable by a programmer unfamiliar with the codebase.
The text was updated successfully, but these errors were encountered:
In the Readable section of the Make a Simple Device how-to guide, the type annotation in the example code reference
A
:I am not sure it is clear that
A
refers totyping.Annotated
, as the import alias is not shown.Acceptance Criteria:
The text was updated successfully, but these errors were encountered: