in activities.py [0:0]
def load_yaml(self) -> CommentedMap:
try:
with open(self.file_path, 'r') as file:
data = self.yaml.load(file)
return data
except Exception as e:
raise ValueError(f"Failed to load YAML: {e}") from e