chore: add todo to uvicorn workaround
This commit is contained in:
@@ -8,6 +8,7 @@ def asyncio_setup() -> None: # pragma: no cover
|
|||||||
# Set eventloop for win32 setups
|
# Set eventloop for win32 setups
|
||||||
# Reverts a change done in uvicorn 0.15.0 - which now sets the eventloop
|
# Reverts a change done in uvicorn 0.15.0 - which now sets the eventloop
|
||||||
# via policy.
|
# via policy.
|
||||||
|
# TODO: is this workaround actually needed?
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if sys.version_info >= (3, 8) and sys.platform == "win32":
|
if sys.version_info >= (3, 8) and sys.platform == "win32":
|
||||||
|
|||||||
Reference in New Issue
Block a user