Note

Ophyd async is included on a provisional basis until the v1.0 release and may change API on minor release numbers before then

ophyd_async.core.WatcherUpdate#

class ophyd_async.core.WatcherUpdate(current: T, initial: T, target: T, name: str | None = None, unit: str | None = None, precision: float | None = None, fraction: float | None = None, time_elapsed: float | None = None, time_remaining: float | None = None)[source]#

Bases: Generic[T]

A dataclass such that, when expanded, it provides the kwargs for a watcher

Methods

Attributes

current: T#
initial: T#
target: T#
name: str | None = None#
unit: str | None = None#
precision: float | None = None#
fraction: float | None = None#
time_elapsed: float | None = None#
time_remaining: float | None = None#