def _parse_networks(service_list: dict) -> list:
        """Parse network key.

        Args:
            service_list (dict): Service configurations

        Returns:
            list, List of networks

        """
        # Initialising empty list
        networks = []

        for n_values in service_list['networks'].values():
            for n_key, n_value in n_values.items():
                if 'name' in n_key:
                    networks.append(n_value)
        return networks
def _parse_networks ( service_list : dict ) -> list : networks = [ ] for n_values in service_list [ 'networks' ] . values ( ) : for n_key , n_value in n_values . items ( ) : if 'name' in n_key : networks . append ( n_value ) return networks
Parse network key.

        Args:
            service_list (dict): Service configurations

        Returns:
            list, List of networks