def __init__(self, fields, unique=True):

        super(HashIndex, self).__init__()

        self.fields = fields
        self.unique = unique
*Note*: unique indexes on non-shard keys are not supported in a cluster.
dataset/ETHPy150Open saeschdivara/ArangoPy/arangodb/index/unique.py/HashIndex.__init__