unit property

unit property

Gets or sets the unit. The unit element contains descriptive information about unit of measure. It has attributes for the name of the unit and the measurement with respect to the meter. The unit element may appear zero or one time.

Definition:

@property
def unit(self):
    ...
@unit.setter
def unit(self, value):
    ...

See Also