Skip to content

Enable injection of device from context into plans #116

Closed

Description

@callumforrester

Some plans will need to access the available plans and devices in the worker while running. Example design:

@blueapi.pass_context
def my_plan(ctx: BlueskyContext):
    det = ctx.devices["xpress3"]
    yield from scan([det], ...)

Activity

  1. added
    enhancement
    on Apr 11, 2023
  2. modified the milestones: , on Apr 11, 2023
  3. self-assigned this
    on May 2, 2023
  4. changed the title [-]Enable injection of plan/device context into plans[/-] [+]Enable injection of device from context into plans[/+] on May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions