(self)
| 435 | |
| 436 | @property |
| 437 | def consistency(self) -> QueryScanConsistency: |
| 438 | value = self._params.get( |
| 439 | 'scan_consistency', None |
| 440 | ) |
| 441 | if value is None and 'mutation_state' in self._params: |
| 442 | return QueryScanConsistency.AT_PLUS |
| 443 | if value is None: |
| 444 | return QueryScanConsistency.NOT_BOUNDED |
| 445 | if isinstance(value, str): |
| 446 | return QueryScanConsistency.REQUEST_PLUS if value == 'request_plus' else QueryScanConsistency.NOT_BOUNDED |
| 447 | |
| 448 | @consistency.setter |
| 449 | def consistency(self, value # type: Union[QueryScanConsistency, str] |
nothing calls this directly
no test coverage detected