================ Measurement Unit ================ Module: `thinkiq.model.measurement_unit` ======================================== .. automodule:: thinkiq.model.measurement_unit .. currentmodule:: thinkiq.model.measurement_unit :class:`MeasurementUnit` ------------------------ .. autoclass:: MeasurementUnit The initialization of a measurement unit has multiple creational methods that allow for an array of arguments. **Options included:** .. automethod:: get_from_id .. automethod:: get_from_fqn .. automethod:: get_from_parent_id .. automethod:: get_from_parent .. automethod:: __init__ .. automethod:: get_by_library_and_relative_name **Properties:** .. py:attribute:: id :type: int .. py:attribute:: relative_name :type: str .. py:attribute:: display_name :type: str .. py:attribute:: part_of_id :type: int .. py:attribute:: fqn :type: list .. py:attribute:: quantity_id :type: int .. py:attribute:: symbol :type: str :class:`MeasurementUnits` -------------------------- .. autoclass:: MeasurementUnits On initialization, it queries the database for all measurement units associated with the given library name and sets them as dynamic attributes on the object. **Options included:** .. automethod:: __init__