Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _count_common_interfaces(clusters):
interfaces = g5k_api_utils.get_clusters_interfaces(clusters)
return min([len(x) for x in interfaces.values()])
def _get_sites(clusters):
clusters_sites = g5k_api_utils.get_clusters_sites(clusters)
return set(clusters_sites.values())