Quantity

Inheritance diagram of Quantity
class Quantity(value: MagnitudeT, units: UnitLike | None = None)
class Quantity(value: str, units: UnitLike | None = None)
class Quantity(value: Sequence[ScalarT], units: UnitLike | None = None)
class Quantity(value: PlainQuantity[Any], units: UnitLike | None = None)

Import from taurus.core.units as:

from taurus.core.units import Quantity