read_only_variable#

NamedVariable.read_only_variable(value=True)[source]#

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