/
m.makarov
/
FastAPI
Обзор
Документация
Войти
/
m.makarov
/
FastAPI
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
venv/lib/python3.12/site-packages/asyncpg/protocol/record.pyi
29 строк
741 B
Maks
Async PG
10 дек 2025, 17:55
10 дек 2025, 17:55
63df578
Код
Авторство
О чём код?
from typing import ( Any, TypeVar, overload, ) from collections.abc import Iterator _T = TypeVar("_T") class Record: @overload def get(self, key: str) -> Any | None: ... @overload def get(self, key: str, default: _T) -> Any | _T: ... def items(self) -> Iterator[tuple[str, Any]]: ... def keys(self) -> Iterator[str]: ... def values(self) -> Iterator[Any]: ... @overload def __getitem__(self, index: str) -> Any: ... @overload def __getitem__(self, index: int) -> Any: ... @overload def __getitem__(self, index: slice) -> tuple[Any, ...]: ... def __iter__(self) -> Iterator[Any]: ... def __contains__(self, x: object) -> bool: ... def __len__(self) -> int: ...