3 ms·
At that point, you probably want proper validation with something like Pydantic, where you can use MyType.model_validate(dict).
by maleldil 1y ago
At that point, you probably want proper validation with something like Pydantic, where you can use MyType.model_validate(dict).