Skip to main content

MassUnits

GitHub source

MassUnits

evo.blockmodels.typed.report.MassUnits

Common mass unit IDs for reports.

Use these constants for the mass_unit_id parameter in ReportSpecificationData.

Example: >>> report_data = ReportSpecificationData( ... name="My Report", ... columns=[...], ... mass_unit_id=MassUnits.TONNES, ... )

TONNES

TONNES = 't'

Metric tonnes

KILOGRAMS

KILOGRAMS = 'kg'

Kilograms

GRAMS

GRAMS = 'g'

Grams

OUNCES

OUNCES = 'oz'

Troy ounces

POUNDS

POUNDS = 'lb'

Pounds

What is the reason for your feedback?