profiles.base.profile_from_dict#
- profiles.base.profile_from_dict(data: dict[str, Any], registry: dict[str, type[BaseProfile]] | None = None) BaseProfile [source]#
Reconstruct a profile instance from a dictionary with optional registry support.
- Parameters:
- Returns:
The reconstructed profile instance.
- Return type:
- Raises:
ValueError – If the class name is missing or the class cannot be resolved.