def constraint(**conditions):
    return IMPL.constraint(**conditions)
Return a constraint object suitable for use with some updates.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/constraint