def create_uniqueness_constraint(self, label, property_key):
        self._uniqueness_constraint_template.expand(label=label).post(
            {"property_keys": [property_key]})
Create a uniqueness constraint for a label.
dataset/ETHPy150Open nigelsmall/py2neo/py2neo/database/__init__.py/Schema.create_uniqueness_constraint