Skip to content

Commit 82087b7

Browse files
brs96FlorentinDbreakanalysisorazve
committed
Add mutateProperty
Co-authored-by: Florentin Dörre <[email protected]> Co-authored-by: Jacob Sznajdman <[email protected]> Co-authored-by: Olga Razvenskaia <[email protected]>
1 parent 84b8cef commit 82087b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

graphdatascience/gnn/gnn_nc_runner.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,16 @@ def predict(
4545
model_name: str,
4646
feature_properties: List[str],
4747
relationship_types: List[str],
48+
mutateProperty: str,
4849
target_node_label: str = None,
4950
node_labels: List[str] = None,
5051
) -> "Series[Any]": # noqa: F821
5152
mlConfigMap = {
5253
"featureProperties": feature_properties,
5354
"job_type": "predict",
5455
"nodeProperties": feature_properties,
55-
"relationshipTypes": relationship_types
56+
"relationshipTypes": relationship_types,
57+
"mutateProperty": mutateProperty
5658
}
5759
if target_node_label:
5860
mlConfigMap["targetNodeLabel"] = target_node_label

0 commit comments

Comments
 (0)