This message was deleted.
# ask-for-help
s
This message was deleted.
j
Can you provide more detailed information? For example, what do you mean by 'async calls'?
j
Hi @Jiang for the ff:
Copy code
async def myfunc...
j
Yeah. I mean, how do you call it?
j
asyncio.gather if there are many tasks or await my_func
j
So your question is how to do retry properly for an async function in Python?
j
@Jiang yes, in conjunction with bento
🍱 1
j
Ic. A BentoML endpoint is a regular Python function, so you can essentially do anything that Python itself can do inside it, and you don't need to do anything special in conjunction with Bento. Whatever you would normally do in regular Python can be done here as well.