Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/blueapi/core/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,19 @@ def with_config(self, config: EnvironmentConfig) -> None:
self.with_plan_module(mod)
case DeviceSource():
LOGGER.info("Including devices from %s", source.module)
LOGGER.warning(
"'devices' environment kind is deprecated - please convert "
"configuration to use deviceManager"
)
self.with_device_module(mod)
case DodalSource(mock=mock):
LOGGER.info(
"Including devices from 'dodal' source %s", source.module
)
LOGGER.warning(
"'dodal' environment kind is deprecated - please convert "
"configuration to use deviceManager"
)
self.with_dodal_module(mod, mock=mock)
case DeviceManagerSource(mock=mock, name=name):
LOGGER.info(
Expand Down