MCPcopy
hub / github.com/apache/caldera / replace_origin_link_id

Method replace_origin_link_id

app/objects/secondclass/c_link.py:231–233  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

229 return status in self.states.values()
230
231 def replace_origin_link_id(self):
232 decoded_cmd = self.decode_bytes(self.command)
233 self.command = self.encode_string(decoded_cmd.replace(self.RESERVED['origin_link_id'], self.id))
234
235 def _emit_status_change_event(self, from_status, to_status):
236 event_svc = BaseService.get_service('event_svc')

Callers 1

apply_idMethod · 0.95

Calls 3

decode_bytesMethod · 0.80
encode_stringMethod · 0.80
replaceMethod · 0.80

Tested by

no test coverage detected