You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
996 B

from typing import Any
class Param:
def __init__(self, annotation: Any = ..., default: Any = ..., **kwargs: Any) -> None: ...
in_: Any
class Body(Param):
def __init__(self, annotation: Any = ..., default: Any = ..., **kwargs: Any) -> None: ...
class Form(Body):
def __init__(self, annotation: Any = ..., default: Any = ..., **kwargs: Any) -> None: ...
class File(Form):
def __init__(self, annotation: Any = ..., default: Any = ..., **kwargs: Any) -> None: ...
class Path(Param):
def __init__(self, annotation: Any = ..., default: Any = ..., alias: str = ..., **kwargs: Any) -> None: ...
alias: str
default: Any
class Query(Param):
def __init__(self, annotation: Any = ..., default: Any = ..., **kwargs: Any) -> None: ...
class Header(Param):
def __init__(self, annotation: Any = ..., default: Any = ..., **kwargs: Any) -> None: ...
class Cookie(Param):
def __init__(self, annotation: Any = ..., default: Any = ..., **kwargs: Any) -> None: ...