get view name from routing args

def detect_view_name(self, environ: Dict[str, Any]) -> str:
        """ get view name from routing args """
        urlvars = environ.get('wsgiorg.routing_args', [(), {}])[1]
        return urlvars.get(self.action_var_name)