def __getattr__(cls: Callable, name: str) -> Callable:
        """
        This gives us an alternate way to make a request:

        >>> Request.cat()
        {'jsonrpc': '2.0', 'method': 'cat', 'id': 1}

        That's the same as saying `Request("cat")`.
        """

        def attr_handler(*args: Any, **kwargs: Any) -> "Request":
            return cls(name, *args, **kwargs)

        return attr_handler
def __getattr__ ( cls : Callable , name : str ) -> Callable : def attr_handler ( * args : Any , ** kwargs : Any ) -> "Request" : return cls ( name , * args , ** kwargs ) return attr_handler
This gives us an alternate way to make a request:

        >>> Request.cat()
        {'jsonrpc': '2.0', 'method': 'cat', 'id': 1}

        That's the same as saying `Request("cat")`.