MCPcopy
hub / github.com/faif/python-patterns / is_satisfied_by

Method is_satisfied_by

patterns/behavioral/specification.py:59–63  ·  view source on GitHub ↗
(self, candidate: Union["User", str])

Source from the content-addressed store, hash-verified

57 self._other: Specification = other
58
59 def is_satisfied_by(self, candidate: Union["User", str]):
60 return bool(
61 self._one.is_satisfied_by(candidate)
62 or self._other.is_satisfied_by(candidate)
63 )
64
65
66class NotSpecification(CompositeSpecification):

Callers

nothing calls this directly

Calls 1

is_satisfied_byMethod · 0.45

Tested by

no test coverage detected