def get_client_index_from_id(self, client_id):
        """Return client index from id"""
        for index, client in enumerate(self.clients):
            if id(client) == client_id:
                return index
def get_client_index_from_id ( self , client_id ) : for index , client in enumerate ( self . clients ) : if id ( client ) == client_id : return index
Return client index from id