def __init__(self, api, path, mapping):
        """
        :type api: lepo.apidef.APIDefinition
        :type path: str
        :type mapping: dict
        """
        self.api = api
        self.path = path
        self.mapping = mapping
        self.regex = self._build_regex()
        self.name = self._build_view_name()
def __init__ ( self , api , path , mapping ) : self . api = api self . path = path self . mapping = mapping self . regex = self . _build_regex ( ) self . name = self . _build_view_name ( )
:type api: lepo.apidef.APIDefinition
        :type path: str
        :type mapping: dict