feat(bridge): allow random provider selection

This commit is contained in:
Iain Learmonth 2023-02-26 15:06:40 +00:00
parent e17b564370
commit 24e464653b
3 changed files with 58 additions and 7 deletions

View file

@ -25,7 +25,7 @@ class BlockBridgeAutomation(BaseAutomation):
super().__init__(*args, **kwargs)
def perform_deprecations(self, ids: List[str], bridge_select_func: Callable[[str], Optional[Bridge]]
) -> List[Tuple[str, str]]:
) -> List[Tuple[str, str, str]]:
rotated = []
for id_ in ids:
bridge = bridge_select_func(id_)