Beispiel #1
0
 def __invert__(self):
     raise DynamoDBOperationNotSupportedError('NOT', self)
Beispiel #2
0
 def __or__(self, value):
     raise DynamoDBOperationNotSupportedError('OR', self)
Beispiel #3
0
 def __or__(self, other):
     if not isinstance(other, ConditionBase):
         raise DynamoDBOperationNotSupportedError('OR', other)
     return Or(self, other)
Beispiel #4
0
 def __and__(self, value):
     raise DynamoDBOperationNotSupportedError('AND', self)
Beispiel #5
0
 def __and__(self, other):
     if not isinstance(other, ConditionBase):
         raise DynamoDBOperationNotSupportedError('AND', other)
     return And(self, other)