Bases: flatland.schema.scalars.Scalar
Given any value, try to coerce it into native format.
Returns: | the native format or raises AdaptationError on failure. |
---|
This abstract method is called by set().
Given any value, coerce it into a Unicode representation.
Returns: | Must return a Unicode object, always. |
---|
No special effort is made to coerce values not of native or a compatible type.
This semi-abstract method is called by set(). The base implementation returns unicode(value).
The Unicode representation of the reference target.
The native value representation of the reference target.