mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-29 02:23:44 +02:00
Fix async error (#212)
This commit is contained in:
parent
07f9b1f244
commit
8c1b468eb0
1 changed files with 2 additions and 2 deletions
|
|
@ -53,10 +53,10 @@ class ServiceEndpoint:
|
|||
|
||||
print(data)
|
||||
|
||||
def responder(x, fin):
|
||||
async def responder(x, fin):
|
||||
print(x)
|
||||
|
||||
resp, fin = await self.requestor.process(data, responder)
|
||||
resp = await self.requestor.process(data, responder)
|
||||
|
||||
return web.json_response(resp)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue