original_docstring: Removes a connection_id from the registry.
  
          Args:
              connection_id (str): A unique identifier which identifies an
                  connection on the network server socket.
          
docstring: Removes a connection_id from the registry.
docstring_tokens: Removes a connection_id from the registry .
code: def unregister_peer(self, connection_id):
          """Removes a connection_id from the registry.
  
          Args:
              connection_id (str): A unique identifier which identifies an
                  connection on the network server socket.
          """
          with self._lock:
              if connection_id in self._peers:
                  del self._peers[connection_id]
                  LOGGER.debug("Removed connection_id %s, "
                               "connected identities are now %s",
                               connection_id, self._peers)
                  self._topology.set_connection_status(connection_id,
                                                       PeerStatus.TEMP)
              else:
                  LOGGER.debug("Connection unregister failed as connection "
                               "was not registered: %s",
                               connection_id)
code_tokens: def unregister_peer ( self , connection_id ) : with self . _lock : if connection_id in self . _peers : del self . _peers [ connection_id ] LOGGER . debug ( "Removed connection_id %s, " "connected identities are now %s" , connection_id , self . _peers ) self . _topology . set_connection_status ( connection_id , PeerStatus . TEMP ) else : LOGGER . debug ( "Connection unregister failed as connection " "was not registered: %s" , connection_id )
short_docstring: Removes a connection_id from the registry.
short_docstring_tokens: Removes a connection_id from the registry .
comment: """Removes a connection_id from the registry.
  
          Args:
              connection_id (str): A unique identifier which identifies an
                  connection on the network server socket.
          """