@@ -27,8 +27,8 @@ def rwr(
2727 sudo : Optional [bool ] = None ,
2828 log_progress : Optional [bool ] = None ,
2929 username : Optional [str ] = None ,
30- concurrency : Optional [Any ] = None ,
31- job_id : Optional [Any ] = None ,
30+ concurrency : Optional [int ] = None ,
31+ job_id : Optional [str ] = None ,
3232 ) -> GraphSamplingResult :
3333 """
3434 Computes a set of Random Walks with Restart (RWR) for the given graph and stores the result as a new graph in the catalog.
@@ -59,9 +59,9 @@ def rwr(
5959 The name of the property on relationships to use as weights during
6060 the random walk. If not specified, the relationships are treated as
6161 unweighted.
62- relationship_types : Optional[List[ str]], default=None
62+ relationship_types : list of str, optional
6363 The relationship types used to select relationships for this algorithm run.
64- node_labels : Optional[List[ str]], default=None
64+ node_labels : list of str, optional
6565 The node labels used to select nodes for this algorithm run.
6666 sudo : bool, optional
6767 Override memory estimation limits. Use with caution as this can lead to
@@ -70,9 +70,9 @@ def rwr(
7070 If True, logs the progress of the computation.
7171 username : str, optional
7272 The username to attribute the procedure run to
73- concurrency : Any , optional
73+ concurrency : int , optional
7474 The number of concurrent threads used for the algorithm execution.
75- job_id : Any , optional
75+ job_id : str , optional
7676 An identifier for the job that can be used for monitoring and cancellation
7777
7878 Returns
@@ -98,8 +98,8 @@ def cnarw(
9898 sudo : Optional [bool ] = None ,
9999 log_progress : Optional [bool ] = None ,
100100 username : Optional [str ] = None ,
101- concurrency : Optional [Any ] = None ,
102- job_id : Optional [Any ] = None ,
101+ concurrency : Optional [int ] = None ,
102+ job_id : Optional [str ] = None ,
103103 ) -> GraphSamplingResult :
104104 """
105105 Computes a set of Random Walks with Restart (RWR) for the given graph and stores the result as a new graph in the catalog.
@@ -130,9 +130,9 @@ def cnarw(
130130 The name of the property on relationships to use as weights during
131131 the random walk. If not specified, the relationships are treated as
132132 unweighted.
133- relationship_types : Optional[List[ str]], default=None
133+ relationship_types : list of str, optional
134134 The relationship types used to select relationships for this algorithm run.
135- node_labels : Optional[List[ str]], default=None
135+ node_labels : list of str, optional
136136 The node labels used to select nodes for this algorithm run.
137137 sudo : bool, optional
138138 Override memory estimation limits. Use with caution as this can lead to
@@ -141,9 +141,9 @@ def cnarw(
141141 If True, logs the progress of the computation.
142142 username : str, optional
143143 The username to attribute the procedure run to
144- concurrency : Any , optional
144+ concurrency : int , optional
145145 The number of concurrent threads used for the algorithm execution.
146- job_id : Any , optional
146+ job_id : str , optional
147147 An identifier for the job that can be used for monitoring and cancellation
148148
149149 Returns
0 commit comments