A class for making assertions on expectation values.
_Matcher(
self,
client: Optional[ls_client.Client],
key: str,
value: Any,
_executor: Optional[ls_utils.ContextThreadPoolExecutor] = None,
run_id: Optional[str] = None
)Assert that the expectation value is less than the given value.
Assert that the expectation value is greater than the given value.
Assert that the expectation value is between the given min and max values.
Assert that the expectation value is approximately equal to the given value.
Assert that the expectation value equals the given value.
Assert that the expectation value is None.
Assert that the expectation value contains the given value.
Assert the expectation value against a custom function.