<reponame>angrycaptain19/sanic<filename>sanic/models/futures.py
from collections import namedtuple


FutureRoute = namedtuple(
    "FutureRoute",
    [
        "handler",
        "uri",
        "methods",
        "host",
        "strict_slashes",
        "stream",
        "version",
        "name",
        "ignore_body",
        "websocket",
        "subprotocols",
        "unquote",
        "static",
    ],
)
FutureListener = namedtuple("FutureListener", ["listener", "event"])
FutureMiddleware = namedtuple("FutureMiddleware", ["middleware", "attach_to"])
FutureException = namedtuple("FutureException", ["handler", "exceptions"])
FutureStatic = namedtuple(
    "FutureStatic",
    [
        "uri",
        "file_or_directory",
        "pattern",
        "use_modified_since",
        "use_content_range",
        "stream_large_files",
        "name",
        "host",
        "strict_slashes",
        "content_type",
    ],
)

from collections import namedtuple


FutureRoute = namedtuple(
    "FutureRoute",
    [
        "handler",
        "uri",
        "methods",
        "host",
        "strict_slashes",
        "stream",
        "version",
        "name",
        "ignore_body",
        "websocket",
        "subprotocols",
        "unquote",
        "static",
    ],
)
FutureListener = namedtuple("FutureListener", ["listener", "event"])
FutureMiddleware = namedtuple("FutureMiddleware", ["middleware", "attach_to"])
FutureException = namedtuple("FutureException", ["handler", "exceptions"])
FutureStatic = namedtuple(
    "FutureStatic",
    [
        "uri",
        "file_or_directory",
        "pattern",
        "use_modified_since",
        "use_content_range",
        "stream_large_files",
        "name",
        "host",
        "strict_slashes",
        "content_type",
    ],
)