def __init__(
        self,
        module,
        methods,
        uri,
        hide=False,
    ):
        """
        desc: Describes a URI and it's HTTP methods
        args:
            -   name: module
                type: str
                desc: The name of the module to load the handlers from
            -   name: methods
                type: list
                subtypes: ["RouteMethod"]
                desc: The HTTP request methods to use
                ctor: pymarshal.api_docs.routes.RouteMethod.__init__
            -   name: uri
                type: str
                desc: The path of this route
            -   name: hide
                type: bool
                desc: True to hide from the API docs, otherwise False
                required: false
                default: false
        """
        self.module = type_assert(module, str)
        self.methods = type_assert_iter(
            methods,
            RouteMethod,
        )
        check_dups(methods)
        self.uri = type_assert(uri, str)
        self.hide = type_assert(hide, bool)
def __init__ ( self , module , methods , uri , hide = False , ) : self . module = type_assert ( module , str ) self . methods = type_assert_iter ( methods , RouteMethod , ) check_dups ( methods ) self . uri = type_assert ( uri , str ) self . hide = type_assert ( hide , bool )
desc: Describes a URI and it's HTTP methods
        args:
            -   name: module
                type: str
                desc: The name of the module to load the handlers from
            -   name: methods
                type: list
                subtypes: ["RouteMethod"]
                desc: The HTTP request methods to use
                ctor: pymarshal.api_docs.routes.RouteMethod.__init__
            -   name: uri
                type: str
                desc: The path of this route
            -   name: hide
                type: bool
                desc: True to hide from the API docs, otherwise False
                required: false
                default: false