Say I have input data:
{
"name": "boo",
"full name": "baz"
}
I would need to store "full name" in a valid property name, $fullName or $full_name, hence need. to do some name mapping.
python dataclases have some __post_init__:
maybe a similar static method could be called from the class if the magic method exists?
Say I have input data:
{ "name": "boo", "full name": "baz" }I would need to store "full name" in a valid property name, $fullName or $full_name, hence need. to do some name mapping.
python dataclases have some
__post_init__:maybe a similar static method could be called from the class if the magic method exists?