|
|
|
@ -135,7 +135,7 @@ class Param(FieldInfo): # type: ignore[misc] |
|
|
|
return f"{self.__class__.__name__}({self.default})" |
|
|
|
|
|
|
|
|
|
|
|
class Path(Param): # type: ignore[misc] |
|
|
|
class Path(Param): # type: ignore[misc] # ty: ignore[unused-ignore-comment] |
|
|
|
in_ = ParamTypes.path |
|
|
|
|
|
|
|
def __init__( |
|
|
|
@ -219,7 +219,7 @@ class Path(Param): # type: ignore[misc] |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
class Query(Param): # type: ignore[misc] |
|
|
|
class Query(Param): # type: ignore[misc] # ty: ignore[unused-ignore-comment] |
|
|
|
in_ = ParamTypes.query |
|
|
|
|
|
|
|
def __init__( |
|
|
|
@ -301,7 +301,7 @@ class Query(Param): # type: ignore[misc] |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
class Header(Param): # type: ignore[misc] |
|
|
|
class Header(Param): # type: ignore[misc] # ty: ignore[unused-ignore-comment] |
|
|
|
in_ = ParamTypes.header |
|
|
|
|
|
|
|
def __init__( |
|
|
|
@ -385,7 +385,7 @@ class Header(Param): # type: ignore[misc] |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
class Cookie(Param): # type: ignore[misc] |
|
|
|
class Cookie(Param): # type: ignore[misc] # ty: ignore[unused-ignore-comment] |
|
|
|
in_ = ParamTypes.cookie |
|
|
|
|
|
|
|
def __init__( |
|
|
|
@ -579,7 +579,7 @@ class Body(FieldInfo): # type: ignore[misc] |
|
|
|
return f"{self.__class__.__name__}({self.default})" |
|
|
|
|
|
|
|
|
|
|
|
class Form(Body): # type: ignore[misc] |
|
|
|
class Form(Body): # type: ignore[misc] # ty: ignore[unused-ignore-comment] |
|
|
|
def __init__( |
|
|
|
self, |
|
|
|
default: Any = Undefined, |
|
|
|
@ -661,7 +661,7 @@ class Form(Body): # type: ignore[misc] |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
class File(Form): # type: ignore[misc] |
|
|
|
class File(Form): # type: ignore[misc] # ty: ignore[unused-ignore-comment] |
|
|
|
def __init__( |
|
|
|
self, |
|
|
|
default: Any = Undefined, |
|
|
|
|