Serialization¶
Internal API
These classes are for internal use only.
Users should interact with Client and other public API classes instead.
serialization
¶
serialize
¶
convert
¶
Convert the given value to the given type.
Parameters:
-
t(type[Any] | Any) –type in which to convert value
-
v(object) –value to be converted
Raises:
-
DataModelTypeError–ambiguous type
Returns:
-
object–converted value