Closed jreadey closed 2 years ago
With the latest image, the doHealthCheck method is logging an error: ERROR> Unexpected AttributeError exception in doHealthCheck: type object '_asyncio.Task' has no attribute 'all_tasks'
ERROR> Unexpected AttributeError exception in doHealthCheck: type object '_asyncio.Task' has no attribute 'all_tasks'
I think this due to a change in Python 3.9 (from https://docs.python.org/3.8/library/asyncio-task.html?highlight=asyncio#asyncio.Task):
classmethod all_tasks(loop=None) Return a set of all tasks for an event loop.
By default all tasks for the current event loop are returned. If loop is None, the get_event_loop() function is used to get the current loop.
Deprecated since version 3.7, will be removed in version 3.9: Do not call this as a task method. Use the asyncio.all_tasks() function instead.
This should be fixed in the above commit.
With the latest image, the doHealthCheck method is logging an error:
ERROR> Unexpected AttributeError exception in doHealthCheck: type object '_asyncio.Task' has no attribute 'all_tasks'
I think this due to a change in Python 3.9 (from https://docs.python.org/3.8/library/asyncio-task.html?highlight=asyncio#asyncio.Task):
classmethod all_tasks(loop=None) Return a set of all tasks for an event loop.
By default all tasks for the current event loop are returned. If loop is None, the get_event_loop() function is used to get the current loop.
Deprecated since version 3.7, will be removed in version 3.9: Do not call this as a task method. Use the asyncio.all_tasks() function instead.