def setQuota(self, key, value):
        if key == 'max_bindings' and value is not None and (value < 0 or not isinstance(value, int)):
            raise jasminApiCredentialError(
                '%s is not a valid value (%s), it must be a positive int' % (key, value))

        CredentialGenerick.setQuota(self, key, value)
Additional validation steps
dataset/ETHPy150Open jookies/jasmin/jasmin/routing/jasminApi.py/SmppsCredential.setQuota