Skip to content

Commit 3cdd4f9

Browse files
committed
Align doc strings
1 parent 8b6370e commit 3cdd4f9

19 files changed

+23
-19
lines changed

graphdatascience/procedure_surface/api/pathfinding/dijkstra_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def write(
177177
G
178178
Graph object to use
179179
write_relationship_type : str
180-
The relationship type to use for the new relationships.
180+
Name of the relationship type to store the results in.
181181
source_node
182182
Node id to use as the starting point.
183183
target_nodes : int | list[int]

graphdatascience/procedure_surface/api/pathfinding/longest_path_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class LongestPathEndpoints(ABC):
1313
def stream(
1414
self,
1515
G: GraphV2,
16+
*,
1617
relationship_weight_property: str | None = None,
1718
relationship_types: list[str] = ALL_TYPES,
1819
node_labels: list[str] = ALL_LABELS,

graphdatascience/procedure_surface/api/pathfinding/max_flow_endpoints.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def mutate(
3838
G
3939
Graph object to use
4040
mutate_property
41-
Name of the node property to store the flow results in.
41+
Name of the node property to store the results in.
4242
mutate_relationship_type
43-
Name of the relationship type to store the flow relationships in.
43+
Name of the relationship type to store the results in.
4444
capacity_property
4545
Name of the relationship property containing capacities.
4646
concurrency
@@ -198,9 +198,9 @@ def write(
198198
G
199199
Graph object to use
200200
write_property
201-
Name of the node property to store the flow results in.
201+
Name of the node property to store the results in.
202202
write_relationship_type
203-
Name of the relationship type to store the flow relationships in.
203+
Name of the relationship type to store the results in.
204204
capacity_property
205205
Name of the relationship property containing capacities.
206206
concurrency

graphdatascience/procedure_surface/api/pathfinding/prize_steiner_tree_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def write(
215215
G
216216
Graph object to use
217217
write_relationship_type : str
218-
The relationship type to use for the new relationships.
218+
Name of the relationship type to store the results in.
219219
write_property
220220
Name of the node property to store the results in.
221221
prize_property : str

graphdatascience/procedure_surface/api/pathfinding/single_source_bellman_ford_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def write(
216216
G
217217
Graph object to use
218218
write_relationship_type : str
219-
The relationship type to use for the new relationships.
219+
Name of the relationship type to store the results in.
220220
source_node
221221
Node id to use as the starting point.
222222
write_node_ids : bool, default=False

graphdatascience/procedure_surface/api/pathfinding/single_source_delta_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def write(
220220
source_node
221221
Node id to use as the starting point.
222222
write_relationship_type : str
223-
The relationship type to use for the new relationships.
223+
Name of the relationship type to store the results in.
224224
delta : float, default=2.0
225225
The bucket width for grouping nodes by tentative distance.
226226
write_node_ids : bool, default=False

graphdatascience/procedure_surface/api/pathfinding/single_source_dijkstra_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def write(
156156
source_node
157157
Node id to use as the starting point.
158158
write_relationship_type : str
159-
The relationship type to use for the new relationships.
159+
Name of the relationship type to store the results in.
160160
write_node_ids : bool, default=False
161161
Whether to write node IDs of the shortest path onto the relationship.
162162
write_costs : bool, default=False

graphdatascience/procedure_surface/api/pathfinding/source_target_astar_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def write(
172172
G
173173
Graph object to use
174174
write_relationship_type : str
175-
The relationship type to use for the new relationships.
175+
Name of the relationship type to store the results in.
176176
source_node
177177
Node id to use as the starting point.
178178
target_node : int

graphdatascience/procedure_surface/api/pathfinding/source_target_dijkstra_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def write(
158158
G
159159
Graph object to use
160160
write_relationship_type : str
161-
The relationship type to use for the new relationships.
161+
Name of the relationship type to store the results in.
162162
source_node
163163
Node id to use as the starting point.
164164
target_nodes : int | list[int]

graphdatascience/procedure_surface/api/pathfinding/source_target_yens_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def write(
171171
G
172172
Graph object to use
173173
write_relationship_type : str
174-
The relationship type to use for the new relationships.
174+
Name of the relationship type to store the results in.
175175
source_node
176176
Node id to use as the starting point.
177177
target_node : int

0 commit comments

Comments
 (0)