pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
11 lines
245 B
11 lines
245 B
from typing import Any, Tuple
|
|
|
|
from typing_extensions import Protocol
|
|
|
|
|
|
class GenericTypeProtocol(Protocol):
|
|
class OriginTypeProtocol(Protocol):
|
|
__parameters__: Tuple[Any]
|
|
|
|
__origin__: OriginTypeProtocol
|
|
__args__: Tuple[Any]
|
|
|