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