Skip to content

Commit fd0625e

Browse files
committed
chore: Log individual plans as they are registered
1 parent 9f15b40 commit fd0625e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/blueapi/core/context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ def my_plan(a: int, b: str):
384384
__config__=BlueapiPlanModelConfig,
385385
**self._type_spec_for_function(plan), # type: ignore
386386
)
387+
LOGGER.debug("Registering plan %s from %s", plan.__name__, plan.__module__)
387388
self.plans[plan.__name__] = Plan(
388389
name=plan.__name__, model=model, description=plan.__doc__
389390
)

0 commit comments

Comments
 (0)