Files @ d7ea6d473bf6
Branch filter:

Location: light9/stubs/treq/content.pyi

drewp@bigasterisk.com
don't let <video> play and get corrected when we're out of bounds, which made a bad flicker
Ignore-this: 2eb8ea8a5399b7ccd00841654ff620f0
# Stubs for treq.content (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from twisted.internet.protocol import Protocol
from typing import Any

class _BodyCollector(Protocol):
    finished: Any = ...
    collector: Any = ...
    def __init__(self, finished: Any, collector: Any) -> None: ...
    def dataReceived(self, data: Any) -> None: ...
    def connectionLost(self, reason: Any) -> None: ...

def collect(response: Any, collector: Any): ...
def content(response: Any): ...
def json_content(response: Any, **kwargs: Any): ...
def text_content(response: Any, encoding: str = ...): ...