hydra-python-agent icon indicating copy to clipboard operation
hydra-python-agent copied to clipboard

Agent must use async-await interface

Open Mec-iS opened this issue 6 years ago • 2 comments

The client should implement Python async-await protocol in all of its functions

Mec-iS avatar Sep 11 '18 10:09 Mec-iS

@Mec-iS please elaborate

shravandoda avatar Mar 18 '19 17:03 shravandoda

Agent should implement wherever possible Python generators and asynchronous co-routines both for calling the servers ([asyncio](asyncio is a library to write concurrent code using the async/await syntax.)) and updating the graph in Redis (possibility of using Streams).

Heracles.ts implements asynchronous behaviour in Typescript (example).

Mec-iS avatar Mar 18 '19 17:03 Mec-iS