MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _Client

Class _Client

tests/test_image_vision.py:274–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273def _fake_boto3(monkeypatch, captured):
274 class _Client:
275 def converse(self, **kw):
276 captured.update(kw)
277 return {
278 "output": {"message": {"content": [{"text": _NODE_JSON}]}},
279 "usage": {"inputTokens": 1, "outputTokens": 2},
280 "stopReason": "end_turn",
281 }
282
283 def _make_client(svc, **kw):
284 # Record the client-construction kwargs (notably config=) separately so

Callers 2

_make_clientFunction · 0.70
_fakeFunction · 0.70

Calls

no outgoing calls

Tested by 2

_make_clientFunction · 0.56
_fakeFunction · 0.56