Explorar o código

rm redundant typing

Ian Paul hai 6 meses
pai
achega
637446ffa9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      exo/networking/manual/manual_discovery.py

+ 1 - 1
exo/networking/manual/manual_discovery.py

@@ -112,7 +112,7 @@ class ManualDiscovery(Discovery):
             f"one of the keys in the config file: {[k for k, _ in topology.peers]}"
           )
 
-        peers_in_network: Dict[str, PeerConfig] = topology.peers
+        peers_in_network = topology.peers
         peers_in_network.pop(self.node_id)
 
         self._cached_peers = peers_in_network