MCPcopy Create free account
hub / github.com/actix/examples / go

Function go

protobuf/client.py:59–64  ·  view source on GitHub ↗
(loop)

Source from the content-addressed store, hash-verified

57 print(receiveObj)
58
59async def go(loop):
60 obj = test_pb2.MyObj()
61 obj.number = 9
62 obj.name = 'USB'
63 async with aiohttp.ClientSession(loop=loop) as session:
64 await fetch(session)
65
66loop = asyncio.get_event_loop()
67loop.run_until_complete(go(loop))

Callers 1

client.pyFile · 0.85

Calls 1

fetchFunction · 0.85

Tested by

no test coverage detected