sinch.core.models package
- sinch.core.models.serialize_datetime_in_dict(
- value: Dict[str, Any] | None,
Serialize datetime/date objects in a dictionary to ISO 8601 date strings.
- Parameters:
value (Optional[Dict[str, Any]]) – Optional dictionary that may contain datetime/date objects
- Returns:
Dictionary with datetime/date objects converted to ISO 8601 date strings, or None if input is None
- Return type:
Optional[Dict[str, Any]]