Skip to content

Blueapi doesn't specify plans need to be added to __init__.py for plans to be correctly registered #1456

@oliwenmandiamond

Description

@oliwenmandiamond

When adding new plans in my plans repository, I could get the BlueAPI PVC to pick up the changes but blueapi itself would still not have visibility of the new plans. After many hours trying to debug this, we eventually found that it was because the plans were not included in the __init__.py file with __all__ = [<plan_name>, ...].

It should be documented clearly that in order for BlueAPI to register plans from repositories, they must be added to the __init__.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions