<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_request_from_view_args(self, view, args, kwargs):
 """Get request from a resource method's arguments. Assumes that request is the second argument. """

        req = args[1]
        assert isinstance(req, falcon.Request), "Argument is not a falcon.Request"
        return req