feat(bridge): allow random provider selection
This commit is contained in:
parent
e17b564370
commit
24e464653b
3 changed files with 58 additions and 7 deletions
|
@ -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_)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue