MCPcopy Create free account
hub / github.com/FastLED/FastLED / get_operation

Method get_operation

ci/util/dependency_loader.py:85–101  ·  view source on GitHub ↗

Get full operation definition. Args: operation: Operation name Returns: Full operation dictionary Raises: KeyError: If operation not found

(self, operation: str)

Source from the content-addressed store, hash-verified

83 return self.data["operations"][operation].get("excludes", [])
84
85 def get_operation(self, operation: str) -> dict[str, Any]:
86 """
87 Get full operation definition.
88
89 Args:
90 operation: Operation name
91
92 Returns:
93 Full operation dictionary
94
95 Raises:
96 KeyError: If operation not found
97 """
98 if operation not in self.data["operations"]:
99 raise KeyError(f"Operation '{operation}' not found in manifest")
100
101 return self.data["operations"][operation]
102
103 def get_cache_key(self, operation: str) -> str:
104 """Get cache key for an operation."""

Callers 6

get_cache_keyMethod · 0.95
get_toolsMethod · 0.95
get_descriptionMethod · 0.95
print_summaryMethod · 0.95
load_operation_configFunction · 0.95

Calls

no outgoing calls

Tested by 1