You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Creates a Sync project for tracking and optimizing Apache Spark applications
48
49
@@ -54,6 +55,8 @@ def create_project(
54
55
:type s3_url: str, optional
55
56
:param prediction_preference: preferred prediction solution, defaults to Preference.BALANCED
56
57
:type prediction_preference: Preference, optional
58
+
:param prediction_params: dictionary of prediction parameters, defaults to None. Valid options are documented here - https://developers.synccomputing.com/reference/create_project_v1_projects_post
59
+
:type prediction_preference: dict, optional
57
60
:return: the newly created project
58
61
:rtype: Response[dict]
59
62
"""
@@ -64,6 +67,7 @@ def create_project(
64
67
"description": description,
65
68
"s3_url": s3_url,
66
69
"prediction_preference": prediction_preference,
70
+
"prediction_params": prediction_params
67
71
}
68
72
)
69
73
)
@@ -85,6 +89,7 @@ def update_project(
85
89
description: str=None,
86
90
s3_url: str=None,
87
91
prediction_preference: Preference=None,
92
+
prediction_params: dict=None,
88
93
) ->Response[dict]:
89
94
"""Updates a project's mutable properties
90
95
@@ -96,6 +101,8 @@ def update_project(
96
101
:type s3_url: str, optional
97
102
:param prediction_preference: default preference for predictions, defaults to None
98
103
:type prediction_preference: Preference, optional
104
+
:param prediction_params: dictionary of prediction parameters, defaults to None. Valid options are documented here - https://developers.synccomputing.com/reference/update_project_v1_projects__project_id__put
0 commit comments