mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-22 18:53:38 +00:00
17 lines
497 B
Python
17 lines
497 B
Python
|
from typing import Any, Generator, List, Mapping, Optional, Tuple, Union
|
||
|
|
||
|
from . import fields
|
||
|
|
||
|
RequestField = fields.RequestField
|
||
|
Fields = Union[Mapping[str, str], List[Tuple[str]], List[RequestField]]
|
||
|
Iterator = Generator[Tuple[str], None, None]
|
||
|
|
||
|
writer: Any
|
||
|
|
||
|
def choose_boundary() -> str: ...
|
||
|
def iter_field_objects(fields: Fields) -> Iterator: ...
|
||
|
def iter_fields(fields: Fields) -> Iterator: ...
|
||
|
def encode_multipart_formdata(
|
||
|
fields: Fields, boundary: Optional[str]
|
||
|
) -> Tuple[str]: ...
|