Skip to content

device_factory should default to eager_connect=False #856

Closed

Description

@DiamondJoseph

While calling connect multiple times is idempotent, it cannot be called with differing values of mock, and a device cannot be disconnected once connected. The primary use of the device_factory will be to be called for default arguments with connect=False, with ensure_connected called on all devices when they are first passed into plans.

Acceptance Criteria

  • The decorator passes False by default to the Controller's init method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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