diff --git a/tdp/core/collections.py b/tdp/core/collections.py index 9b0cd45e..75d733bf 100644 --- a/tdp/core/collections.py +++ b/tdp/core/collections.py @@ -199,7 +199,13 @@ def _init_operations(self): def get_services(self) -> set[str]: """Get the list of services names.""" - return {operation.service_name for operation in self.operations.values()} + # Filters out the sleep operation service as it is not a real service. + operation_sleep_name = ServiceComponentName(OPERATION_SLEEP_NAME) + return { + operation.service_name + for operation in self.operations.values() + if operation.service_name != operation_sleep_name.service_name + } def get_default_vars_paths(self, service_name: str) -> Generator[Path, None, None]: """Get the default vars paths for a service."""