r"""Return models one by one in simple round-robin fashion. Returns: BaseModelBackend for processing incoming messages.
(self)
| 154 | |
| 155 | # Strategies |
| 156 | def round_robin(self) -> BaseModelBackend: |
| 157 | r"""Return models one by one in simple round-robin fashion. |
| 158 | |
| 159 | Returns: |
| 160 | BaseModelBackend for processing incoming messages. |
| 161 | """ |
| 162 | return next(self.models_cycle) |
| 163 | |
| 164 | def always_first(self) -> BaseModelBackend: |
| 165 | r"""Always return the first model from self.models. |
nothing calls this directly
no outgoing calls
no test coverage detected