Skip to content

UpdateVariableOption

Import from pyfj or pyfj.models as UpdateVariableOption.

UpdateVariableOption

UpdateVariableOption defines the properties of the variable to update.

name

name: str | None = Field(
    default=None,
    description="New name for the variable. If the field is empty, the variable name won't be updated. Forgejo will convert it to uppercase.",
)

value

value: str = Field(
    description="Value of the variable to update. Special characters will be retained. Line endings will be normalized to LF to match the behaviour of browsers. Encode the data with Base64 if line endings should be retained."
)