def Interpolate(self, client=None):
    kb = client.Get(client.Schema.KNOWLEDGE_BASE)
    patterns = artifact_utils.InterpolateKbAttributes(self._value, kb)
    for pattern in patterns:
        pattern = utils.NormalizePath(pattern.replace('\\', '/'))
        for pattern in self.InterpolateGrouping(pattern):
            (yield pattern)
def Interpolate(self, client=None):
    kb = client.Get(client.Schema.KNOWLEDGE_BASE)
    patterns = artifact_utils.InterpolateKbAttributes(self._value, kb)
    for pattern in patterns:
        pattern = utils.NormalizePath(pattern.replace('\\', '/'))
        for pattern in self.InterpolateGrouping(pattern):
            (yield pattern)