I have a synchronous function, Let’s say - def func(): #inside this function I want to call an async function which updates the conversations on RASA X, I don’t want to await the response from the webhook API.
After making call to the async function, I want this sync function(func() here) to continue execution of lines following it.
I read about asyncio.create_task, it’s makes a non-blocking call. But the problem is I want to create_task inside a synchronous function which gives the following error- RuntimeWarning: coroutine ‘xyz’ was never awaited.
i am stuck on this problem for quite sometime. Please help. Thanks in advance