def matches(self, path, path_type):
        path_type_matches = path_type in self.path_types
        return path_type_matches and self._path_matches(path)
dataset/ETHPy150Open galaxyproject/pulsar/pulsar/client/action_mapper.py/BasePathMapper.matches/original