Method
getOptimizationInputsFromSerialized POST
Copy POST

Get assignments for given query, with new inputs

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes deploymentToken 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.
Yes deploymentId str The unique identifier of a deployment created under the project.
No queryData 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)
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
OptimizationAssignment

Exceptions:

TYPE WHEN
DataNotFoundError

deploymentId is not found.

Language: