mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-15 17:35:04 +00:00
e56303798c
Initial SickGear for Python 3.
16 lines
497 B
Python
16 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]: ...
|