Apply this read preference to Selection.
(self, selection: Selection)
| 385 | super().__init__(_SECONDARY, tag_sets, max_staleness, hedge) |
| 386 | |
| 387 | def __call__(self, selection: Selection) -> Selection: |
| 388 | """Apply this read preference to Selection.""" |
| 389 | return secondary_with_tags_server_selector( |
| 390 | self.tag_sets, max_staleness_selectors.select(self.max_staleness, selection) |
| 391 | ) |
| 392 | |
| 393 | |
| 394 | class SecondaryPreferred(_ServerMode): |
nothing calls this directly
no test coverage detected