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

Method add_link

app/objects/c_operation.py:178–179  ·  view source on GitHub ↗
(self, link)

Source from the content-addressed store, hash-verified

176 self.start = datetime.now(timezone.utc)
177
178 def add_link(self, link):
179 self.chain.append(link)
180
181 def has_link(self, link_id):
182 return any(lnk.id == link_id for lnk in self.potential_links + self.chain)

Calls

no outgoing calls