In charge_point.py, we have: ``` # Create task to avoid blocking when making a call inside the # after handler if inspect.isawaitable(response): asyncio.ensure_future(response) ``` However, according to https://docs.python.org/3.14/library/asyncio-future.html#asyncio.ensure_future: _Important Save a reference to the result of this function, to avoid a task disappearing mid-execution._ We could use the approach described at https://docs.python.org/3.14/library/asyncio-task.html#asyncio.create_task . Care should also be taken to make sure any tracebacks are printed.
In charge_point.py, we have:
However, according to https://docs.python.org/3.14/library/asyncio-future.html#asyncio.ensure_future:
Important Save a reference to the result of this function, to avoid a task disappearing mid-execution.
We could use the approach described at https://docs.python.org/3.14/library/asyncio-task.html#asyncio.create_task . Care should also be taken to make sure any tracebacks are printed.