Skip to content

BackendAvailability

Dataclass to track backend availability

BackendAvailability

BackendAvailability(name: str, available: bool, error: str | None = None) -> None

Attributes

Name Type Value Doc
available bool unset Whether the backend is available or not
error str | None None Error message when trying to import the backend
name str unset Backend name