MCPcopy Index your code
hub / github.com/apache/caldera / Variation

Class Variation

app/objects/secondclass/c_variation.py:16–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16class Variation(BaseObject):
17
18 schema = VariationSchema()
19
20 @property
21 def command(self):
22 return self.replace_app_props(self._command)
23
24 @property
25 def raw_command(self):
26 return self.decode_bytes(self._command)
27
28 def __init__(self, description, command):
29 super().__init__()
30 self.description = description
31 self._command = self.encode_string(command)

Callers 1

build_variationMethod · 0.85

Calls 1

VariationSchemaClass · 0.85

Tested by

no test coverage detected