Specification pattern: Difference between revisions

Content deleted Content added
No edit summary
Line 241:
 
def __call__(self, candidate: Any) -> bool:
raisereturn is_satisfied_by(candidate)
 
def __and__(self, other: "BaseSpecification") -> "AndSpecification":