Update `Mapping` type to match new `mypy`
@@ -116,7 +116,7 @@ async def process_peering_event(
return
# Find if we are still the highest priority operator.
- pairs = cast(Mapping[str, Mapping[str, object]], body.get('status', {}))
+ pairs = cast(Mapping[str, Mapping[str, Any]], body.get('status', {}))
peers = [Peer(identity=Identity(opid), **opinfo) for opid, opinfo in pairs.items()]
dead_peers = [peer for peer in peers if peer.is_dead]
live_peers = [peer for peer in peers if not peer.is_dead and peer.identity != identity]
