MCPcopy
hub / github.com/hacs/integration / add

Method add

tests/common.py:429–430  ·  view source on GitHub ↗
(self, url: str, response: MockedResponse)

Source from the content-addressed store, hash-verified

427 responses: dict[str, MockedResponse] = {}
428
429 def add(self, url: str, response: MockedResponse) -> None:
430 self.responses[url] = response
431
432 def get(self, url: str, *args, **kwargs) -> MockedResponse:
433 data = {"url": url, "args": list(args), "kwargs": kwargs}

Calls

no outgoing calls