@@ -20,7 +20,7 @@ def mutate(
2020 mutate_property : str ,
2121 max_iterations : int = 20 ,
2222 tolerance : float = 1.0e-7 ,
23- source_nodes : int | list [int ] | list [ tuple [ int , float ]] | None = None ,
23+ source_nodes : int | list [int ] | None = None ,
2424 scaler : str | dict [str , str | int | float ] | ScalerConfig = "NONE" ,
2525 relationship_weight_property : str | None = None ,
2626 relationship_types : list [str ] = ALL_TYPES ,
@@ -53,7 +53,6 @@ def mutate(
5353 node ids to use as starting points. Can be:
5454 - single node id (e.g., 42)
5555 - list of node id (e.g., [42, 43, 44])
56- - list of tuples to associate each node with a bias > 0 (e.g., [(42, 0.5), (43, 1.0)])
5756 scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
5857 The scaler to use. Can be:
5958 - A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
@@ -91,7 +90,7 @@ def stats(
9190 G : GraphV2 ,
9291 max_iterations : int = 20 ,
9392 tolerance : float = 1.0e-7 ,
94- source_nodes : int | list [int ] | list [ tuple [ int , float ]] | None = None ,
93+ source_nodes : int | list [int ] | None = None ,
9594 scaler : str | dict [str , str | int | float ] | ScalerConfig = "NONE" ,
9695 relationship_weight_property : str | None = None ,
9796 relationship_types : list [str ] = ALL_TYPES ,
@@ -122,7 +121,6 @@ def stats(
122121 node ids to use as starting points. Can be:
123122 - single node id (e.g., 42)
124123 - list of node id (e.g., [42, 43, 44])
125- - list of tuples to associate each node with a bias > 0 (e.g., [(42, 0.5), (43, 1.0)])
126124 scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
127125 The scaler to use. Can be:
128126 - A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
@@ -160,7 +158,7 @@ def stream(
160158 G : GraphV2 ,
161159 max_iterations : int = 20 ,
162160 tolerance : float = 1.0e-7 ,
163- source_nodes : int | list [int ] | list [ tuple [ int , float ]] | None = None ,
161+ source_nodes : int | list [int ] | None = None ,
164162 scaler : str | dict [str , str | int | float ] | ScalerConfig = "NONE" ,
165163 relationship_weight_property : str | None = None ,
166164 relationship_types : list [str ] = ALL_TYPES ,
@@ -186,7 +184,6 @@ def stream(
186184 node ids to use as starting points. Can be:
187185 - single node id (e.g., 42)
188186 - list of node id (e.g., [42, 43, 44])
189- - list of tuples to associate each node with a bias > 0 (e.g., [(42, 0.5), (43, 1.0)])
190187 scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
191188 The scaler to use. Can be:
192189 - A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
@@ -225,7 +222,7 @@ def write(
225222 write_property : str ,
226223 max_iterations : int = 20 ,
227224 tolerance : float = 1.0e-7 ,
228- source_nodes : int | list [int ] | list [ tuple [ int , float ]] | None = None ,
225+ source_nodes : int | list [int ] | None = None ,
229226 scaler : str | dict [str , str | int | float ] | ScalerConfig = "NONE" ,
230227 relationship_weight_property : str | None = None ,
231228 relationship_types : list [str ] = ALL_TYPES ,
@@ -259,7 +256,6 @@ def write(
259256 node ids to use as starting points. Can be:
260257 - single node id (e.g., 42)
261258 - list of node id (e.g., [42, 43, 44])
262- - list of tuples to associate each node with a bias > 0 (e.g., [(42, 0.5), (43, 1.0)])
263259 scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
264260 The scaler to use. Can be:
265261 - A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
@@ -299,7 +295,7 @@ def estimate(
299295 G : GraphV2 | dict [str , Any ],
300296 max_iterations : int = 20 ,
301297 tolerance : float = 1.0e-7 ,
302- source_nodes : int | list [int ] | list [ tuple [ int , float ]] | None = None ,
298+ source_nodes : int | list [int ] | None = None ,
303299 scaler : str | dict [str , str | int | float ] | ScalerConfig = "NONE" ,
304300 relationship_weight_property : str | None = None ,
305301 relationship_types : list [str ] = ALL_TYPES ,
@@ -321,7 +317,6 @@ def estimate(
321317 node ids to use as starting points. Can be:
322318 - single node id (e.g., 42)
323319 - list of node id (e.g., [42, 43, 44])
324- - list of tuples to associate each node with a bias > 0 (e.g., [(42, 0.5), (43, 1.0)])
325320 scaler : str | dict[str, str | int | float] | ScalerConfig, default="NONE"
326321 The scaler to use. Can be:
327322 - A string (e.g., 'MinMax', 'Mean', 'Max', 'Log', 'StdScore', 'Center', 'NONE')
0 commit comments