(self)
| 1145 | |
| 1146 | @property |
| 1147 | def consistency(self) -> SearchScanConsistency: |
| 1148 | value = self._params.get( |
| 1149 | 'scan_consistency', None |
| 1150 | ) |
| 1151 | if value is None and 'mutation_state' in self._params: |
| 1152 | return SearchScanConsistency.AT_PLUS |
| 1153 | if value is None: |
| 1154 | return SearchScanConsistency.NOT_BOUNDED |
| 1155 | if isinstance(value, str): |
| 1156 | return SearchScanConsistency.REQUEST_PLUS if value == 'request_plus' else SearchScanConsistency.NOT_BOUNDED |
| 1157 | |
| 1158 | @consistency.setter |
| 1159 | def consistency(self, value # type: Union[SearchScanConsistency, str] |
nothing calls this directly
no test coverage detected