def _get_path(self, match):
        if match.context is not None:
            for path_element in self._get_path(match.context):
                yield path_element
            yield str(match.path)
dataset/ETHPy150Open openstack/stacktach-stackdistiller/stackdistiller/distiller.py/TraitDefinition._get_path/original