redsun.registry¶
Values every component may ask for¶
SessionConfig
dataclass
¶
SessionConfig(
*,
schema_version: float = 1.0,
frontend: str | None = None,
session: str = "Redsun",
mock: bool = False,
metadata: dict[str, object] = dict(),
)
The configuration an application was built from.
schema_version
class-attribute
instance-attribute
¶
Format of the session file.
frontend
class-attribute
instance-attribute
¶
Registered name of the frontend the session is built on, if any.
mock
class-attribute
instance-attribute
¶
Whether the devices connect to simulated backends and no service starts.
metadata
class-attribute
instance-attribute
¶
What the session file asks to have recorded with the session.
DeviceMapping
module-attribute
¶
Every device an application built, by name.
Not ophyd-async's DeviceMap, which is a device holding string-keyed
children; this is the application's own set.
CallbackType
module-attribute
¶
A document callback: a DocumentRouter, or anything callable as (name, doc).
PlanEntry
¶
Bases: TypedDict
A plan a component offers, and the document callbacks it requires.
Only plan is required.