infer_serialize_known
No overview available.
def infer_serialize_known(
value: Any,
context: dict
) - > Callable
Infers the serialization logic for known data types based on the provided value and context.
Parameters
| Name | Type | Description |
|---|---|---|
| value | Any | The data value used to determine the appropriate serialization strategy. |
| context | dict | A dictionary containing configuration settings and metadata that influence how types are mapped to serializers. |
Returns
| Type | Description |
|---|---|
Callable | A serialization function that converts the input type into a format suitable for the target output. |