class sym.sdk.forms.SymPromptForm(*, fields: OrderedDict[str, sym.sdk.forms.PromptField], flow_vars: Dict[str, str] = {})

Bases: pydantic.main.BaseModel

The current state of a form used to submit an access request to Sym.

field fields: OrderedDict[str, sym.sdk.forms.PromptField] [Required]

A dictionary of PromptField objects, keyed by field name and in the order they would be displayed in the UI.

NOTE: While the PromptField objects may be modified to change the form’s state, the dictionary itself should not be modified.

field flow_vars: Dict[str, str] = {}

A dictionary of Flow vars and their string values, as defined in the sym_flow Terraform resource’s vars attribute.