read_only_variable#

NamedVariable.read_only_variable(value: bool = True) bool#

Set the variable to a read-only variable.

Parameters:
valuebool, optional

Whether the variable is a read-only variable. The default is True.

Returns:
bool