Skip to main content

as_python

No overview available.

def as_python(
value: Any
) - > Any

Converts a value into its Python-native representation. This is typically used to transform serialized data or raw input into appropriate Python objects based on the field's logic.

Parameters

NameTypeDescription
valueAnyThe raw input value to be converted into a Python-native format.

Returns

TypeDescription
AnyThe converted Python object corresponding to the input value.