def __invert__(self): raise DynamoDBOperationNotSupportedError('NOT', self)
def __or__(self, value): raise DynamoDBOperationNotSupportedError('OR', self)
def __or__(self, other): if not isinstance(other, ConditionBase): raise DynamoDBOperationNotSupportedError('OR', other) return Or(self, other)
def __and__(self, value): raise DynamoDBOperationNotSupportedError('AND', self)
def __and__(self, other): if not isinstance(other, ConditionBase): raise DynamoDBOperationNotSupportedError('AND', other) return And(self, other)