First Commit - API Tested and functional

This commit is contained in:
juan.ley54@unach.mx
2026-02-07 02:04:11 -06:00
commit 6d185e1570
2306 changed files with 531617 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from __future__ import annotations
import asyncio
import sys
from collections.abc import Callable
def asyncio_loop_factory(use_subprocess: bool = False) -> Callable[[], asyncio.AbstractEventLoop]:
if sys.platform == "win32" and not use_subprocess:
return asyncio.ProactorEventLoop
return asyncio.SelectorEventLoop