INNER CODE UNIT · Python
m
hynek/svcs · typing_tests/aiohttp.py:41
def m(self) -> None: ...
async def func(request: Request) -> None:
services = await svcs.aiohttp.aget(
request, int, str, bool, tuple, object, float, list, dict, set, bytes
)
assert_type(
services,
tuple[int, str, bool, tuple, object, float, list, dict, set, bytes],
)
p: P = await svcs.aiohttp.aget_abstract(request, P)
await svcs.aiohttp.aclose_registry(app)
assert_type(svcs.aiohttp.svcs_from(request), svcs.Container)