Convert a primitive value to the expected type.
(self, obj: Any, cl: type[T])
| 464 | return result |
| 465 | |
| 466 | async def structure(self, obj: Any, cl: type[T]) -> T: |
| 467 | """Convert a primitive value to the expected type.""" |
| 468 | return await asyncify(self._converter.structure, obj, cl) |
| 469 | |
| 470 | async def unstructure(self, obj: Any, unstructure_as: Any) -> Awaitable[Any]: |
| 471 | """Convert a result to primitive values.""" |
no outgoing calls