Test a dict value for equality. >>> Query().f1 == 42 :param rhs: The value to compare against
(self, rhs: Any)
| 241 | ) |
| 242 | |
| 243 | def __eq__(self, rhs: Any): |
| 244 | """ |
| 245 | Test a dict value for equality. |
| 246 | |
| 247 | >>> Query().f1 == 42 |
| 248 | |
| 249 | :param rhs: The value to compare against |
| 250 | """ |
| 251 | return self._generate_test( |
| 252 | lambda value: value == rhs, |
| 253 | ('==', self._path, freeze(rhs)) |
| 254 | ) |
| 255 | |
| 256 | def __ne__(self, rhs: Any): |
| 257 | """ |
nothing calls this directly
no test coverage detected