Skip to content

AutomatedReasoningPolicyAddVariableAnnotation

Structure Class

AutomatedReasoningPolicyAddVariableAnnotation dataclass

Bases: _SerdeShape

An annotation for adding a new variable to an Automated Reasoning policy, which can be used in rule expressions.

Attributes

description instance-attribute
description: str

A description of what the variable represents and how it should be used in rules.

name instance-attribute
name: str

The name of the new variable. This name will be used to reference the variable in rule expressions.

type instance-attribute
type: str

The type of the variable, which can be a built-in type (like string or number) or a custom type defined in the policy.