Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing attach_data_session_metadata_decorator means it tries to export as a plan #795

Open
callumforrester opened this issue Jan 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@callumforrester
Copy link
Contributor

If a plan file contains

from dodal.plan_stubs.data_session import attach_data_session_metadata_decorator

Then blueapi tries to exposure attach_data_session_metadata_decorator as a plan.

Steps To Reproduce

Steps to reproduce the behaviour:

  1. Add the above line to one of the startup files in blueapi.startup
  2. Try to run the server

Acceptance Criteria

  • Only plans defined in the file imported (or exposed via __all__ are visible in blueapi
@callumforrester callumforrester added the bug Something isn't working label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant