Physical Quantities with Pint

Additional resources fields that include units.

Note

This contrib module depends on the Pint units library this can be installed with:

pip install pint

Fields

ArrowField

class ArrowField([assume_local: bool = False, **options])

An amount.

ArrowField has one extra argument:

ArrowField.assume_local
Customise how naive (datetime values with no timezone) are handled and also how dates are decoded. If assume_local is True naive dates are assumed to represent the current system timezone.