mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add 'file' attribute to cgi.[Mini]FieldStorage (#1104)
This commit is contained in:
@@ -25,7 +25,7 @@ class MiniFieldStorage:
|
||||
filename = ... # type: Any
|
||||
list = ... # type: Any
|
||||
type = ... # type: Any
|
||||
file = ... # type: Any
|
||||
file = ... # type: Optional[IO[bytes]] # Always None
|
||||
type_options = ... # type: Dict[Any, Any]
|
||||
disposition = ... # type: Any
|
||||
disposition_options = ... # type: Dict[Any, Any]
|
||||
@@ -51,6 +51,7 @@ class FieldStorage(object):
|
||||
disposition = ... # type: str
|
||||
disposition_options = ... # type: Dict[str, str]
|
||||
filename = ... # type: Optional[str]
|
||||
file = ... # type: Optional[IO[bytes]]
|
||||
type = ... # type: str
|
||||
type_options = ... # type: Dict[str, str]
|
||||
innerboundary = ... # type: bytes
|
||||
|
||||
Reference in New Issue
Block a user