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