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
deployment_token (str): The deployment token used to authenticate access to created deployments. This token is only authorized to predict on deployments in this project, so it can be safely embedded in an application or website.
3051
+
deployment_id (str): The unique identifier of a deployment created under the project.
3052
+
query_data (dict): a dictionary with various key: value pairs corresponding to various updated FGs in the FG tree, which we want to update to compute new top level FGs for online solve. values are dataframes and keys are their names. Names should be same as the ones used during training.
3053
+
3054
+
Returns:
3055
+
OptimizationAssignment: The output dataframes for a given query.
"""Get assignments for given query, with new inputs
7646
+
7647
+
Args:
7648
+
deployment_token (str): The deployment token used to authenticate access to created deployments. This token is only authorized to predict on deployments in this project, so it can be safely embedded in an application or website.
7649
+
deployment_id (str): The unique identifier of a deployment created under the project.
7650
+
query_data (dict): a dictionary with various key: value pairs corresponding to various updated FGs in the FG tree, which we want to update to compute new top level FGs for online solve. (query data will be dict of names: serialized dataframes)"""
7651
+
prediction_url = self._get_prediction_endpoint(
7652
+
deployment_id, deployment_token) if deployment_token else None
0 commit comments