pydantic released v2.0 a few days ago introducing breaking changes. Specifically, calling Field() will not work anymore since the annotation returned is set to NoneType.
Potential solutions:
There might be some setting I have to tweak to populate the annotation field
Might have to write a proper pydantic Model and then derive the CLI from that
pydantic released v2.0 a few days ago introducing breaking changes. Specifically, calling
Field()
will not work anymore since theannotation
returned is set toNoneType
.Potential solutions: