miratheidel.bsky.social
@miratheidel.bsky.social
interesting, thanks for the explanation :)
February 18, 2025 at 4:57 PM
not sure if I got you right, but as far as I see, the field validation on instantiation still works - can't see a difference
February 18, 2025 at 3:50 PM
that's such a neat implementation! Actually I don't think you even need the eval: you can pass the field type as a string and let pydantic/ the types module handle it ...
February 18, 2025 at 3:06 PM