Skip to content

Add option to init_devices ctx manager to auto-switch to mock mode for devices that are not connected #1103

@jwlodek

Description

@jwlodek

It would be nice to be able to automatically connect in mock mode on timeout error (with maybe a warning message printed). This would save us having to handle devices that aren't always connected explicitly. Could also have an option to just log the timeout errors, and continue.

Acceptance Criteria

  • Options available for init_devices and ensure_connected that allow for connecting in mock mode on timeout, or not raising error on timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions