locan.constants.PropertyDescription#
- class locan.constants.PropertyDescription(name, type, unit_SI=None, unit=None, description='')[source]#
Bases:
object
A property of a localization or group of localizations representing column names in LocData.data and LocData.properties.
- Variables:
name – property name
type – property type
unit_SI – SI unit that is appropriate for property
unit – The actual unit currently used
description – Explanation what the property represents
Methods
__init__
(name, type[, unit_SI, unit, ...])Attributes
-
description:
str
= ''#
-
name:
str
#
-
type:
str
#
-
unit:
Optional
[str
] = None#
-
unit_SI:
Optional
[str
] = None#