swh.graph.luigi.utils module#

swh.graph.luigi.utils.count_nodes(local_graph_path: Path, graph_name: str, object_types: str) int[source]#

Returns the number of nodes of the given types (in the ‘cnt,dir,rev,rel,snp,ori’ format) in the graph.