@@ -92,7 +92,7 @@ impl HierarchicalCluster {
9292/// :raises ParameterRangeError: One of the parameters provided did not meet the requirements in the documentation.
9393/// :raises UnsafeInducementError: An internal algorithm error. Please report with reproduction steps.
9494#[ pyfunction]
95- #[ pyo3( signature=( edges , / , starting_communities=None , resolution=1.0 , randomness=0.001 , iterations=1 , use_modularity=true , seed=None , trials=1 ) ) ]
95+ #[ pyo3( signature=( / , edges , starting_communities=None , resolution=1.0 , randomness=0.001 , iterations=1 , use_modularity=true , seed=None , trials=1 ) ) ]
9696fn leiden (
9797 py : Python ,
9898 edges : Vec < Edge > ,
@@ -170,7 +170,7 @@ fn leiden(
170170/// :raises ParameterRangeError: One of the parameters provided did not meet the requirements in the documentation.
171171/// :raises UnsafeInducementError: An internal algorithm error. Please report with reproduction steps.
172172#[ pyfunction]
173- #[ pyo3( signature=( edges , / , starting_communities=None , resolution=1.0 , randomness=0.001 , iterations=1 , use_modularity=true , max_cluster_size=1000 , seed=None ) ) ]
173+ #[ pyo3( signature=( / , edges , starting_communities=None , resolution=1.0 , randomness=0.001 , iterations=1 , use_modularity=true , max_cluster_size=1000 , seed=None ) ) ]
174174fn hierarchical_leiden (
175175 py : Python ,
176176 edges : Vec < Edge > ,
@@ -211,7 +211,7 @@ fn hierarchical_leiden(
211211/// :return: The modularity of the community partitioning provided for the network.
212212/// :rtype: float
213213#[ pyfunction]
214- #[ pyo3( signature=( edges , communities , / , resolution=1.0 ) ) ]
214+ #[ pyo3( signature=( / , edges , communities , resolution=1.0 ) ) ]
215215fn modularity (
216216 py : Python ,
217217 edges : Vec < Edge > ,
0 commit comments