class documentation
class UnitConversionAdapter(UnitManipulationAdapter): (source)
Note: This is an extremely thin wrapper around UnitManipulationAdapter. It only overrides the default settings for converters.
Class Variable | converters |
Undocumented |
Inherited from UnitManipulationAdapter
:
Method | adapt |
Convert 'value' to the desired units for objects of the given 'name' |
Method | adapt |
Convert 'value' to the desired units for objects of the given 'name' |
Class Variable | getitem |
Undocumented |
Class Variable | setitem |
Undocumented |
Method | _convert |
Find a converter for value and convert it to new_units. |