cf.BoundedVariable.properties¶
-
BoundedVariable.
properties
(props=None, clear=False, copy=True)[source]¶ Inspect or change the CF properties.
Examples 1: >>> f.properties()
Parameters: - props:
dict
, optional Set bounded variable attributes from the dictionary of values. If the copy parameter is True then the values in the attrs dictionary are deep copied
- clear:
bool
, optional If True then delete all CF properties.
- copy:
bool
, optional If True then the values in the returned dictionary are deep copies of the bounded variable’s attribute values. By default they are not copied.
Returns: - out:
dict
The CF properties prior to being changed, or the current CF properties if no changes were specified.
Examples 2: - props: