'ResolvePrefix.'

def ResolvePrefix(self, subject, attribute_prefix, timestamp=None, limit=None, token=None):

    if isinstance(attribute_prefix, basestring):
        attribute_prefix = [attribute_prefix]
    results = []
    for prefix in attribute_prefix:
        (query, args) = self._BuildQuery(subject, prefix, timestamp, limit, is_prefix=True)
        (rows, _) = self.ExecuteQuery(query, args)
        for row in rows:
            attribute = row['attribute']
            value = self._Decode(attribute, row['value'])
            results.append((attribute, value, row['timestamp']))
    return results
