Skip to content

Quantity.canonical_unit

Canonical unit string, or empty if unset.

Signature

@property
canonical_unit -> str

Return shape

str

Permission

This is a local SDK helper. It does not call the CloudSprite HTTP API.

Usage

quantity.canonical_unit