File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -457,15 +457,7 @@ def __getitem__(self, field_name: str) -> GetItemExpression:
457
457
458
458
459
459
# Enables use of ~, &, | with compositions of selection objects.
460
- class SelectionPredicateComposition (core .PredicateComposition ):
461
- def __invert__ (self ) -> SelectionPredicateComposition :
462
- return SelectionPredicateComposition ({"not" : self .to_dict ()})
463
-
464
- def __and__ (self , other : SchemaBase ) -> SelectionPredicateComposition :
465
- return SelectionPredicateComposition ({"and" : [self .to_dict (), other .to_dict ()]})
466
-
467
- def __or__ (self , other : SchemaBase ) -> SelectionPredicateComposition :
468
- return SelectionPredicateComposition ({"or" : [self .to_dict (), other .to_dict ()]})
460
+ SelectionPredicateComposition = core .PredicateComposition
469
461
470
462
471
463
class ParameterExpression (_expr_core .OperatorMixin ):
You can’t perform that action at this time.
0 commit comments