Evaluate API

class cloudify_rest_client.evaluate.EvaluatedFunctions(evaluated_functions)[source]

Bases: dict

Evaluated functions.

property deployment_id
Returns:

The deployment id this request belongs to.

property payload
Returns:

The evaluation payload.

class cloudify_rest_client.evaluate.EvaluateClient(api)[source]

Bases: object

functions(deployment_id, context, payload)[source]

Evaluate intrinsic functions in payload in respect to the provided context.

Parameters:
  • deployment_id – The deployment’s id of the node.

  • context – The processing context (dict with optional self, source, target).

  • payload – The payload to process.

Returns:

The payload with its intrinsic functions references evaluated.

Return type:

EvaluatedFunctions