MarkusSintonen

Results 29 comments of MarkusSintonen

> Might be worth trying [ConfigDict.defer_build](https://docs.pydantic.dev/latest/api/config/#pydantic.config.ConfigDict.defer_build) (new in V2.1) on all models that aren't used directly. @samuelcolvin Im testing it by adding `BaseModel.model_config["defer_build"] = True` right at the start of...

Hello! We are also getting hit by this issue. Im not sure is it related to `TypeVar` handling in our case as @crazyscientist mentioned. But its related to generics with...

> Thanks for your detailed explanation @MarkusSintonen, we'll review your PR. Great thanks! The PR should be now ready for review

Can I have a review @tiangolo / @alejsdev 🙏

> These two alternative implementations also work: Those don't produce proper OpenAPI specs, or don't allow the Pydantics model Configs?

> If the idea was to have simple scalar root model wrapped around a type that FastAPI already knows how to support -- why would you want/need a config dictionary...

> Support in structured arrays (perhaps not super useful, but could be seen as similar to object) I'm exited about `StringDType` but noticed that its not working with structure arrays...

Thanks, and thanks for your great work! > Another thing I have in mind is to eventually add a fixed-width string mode to stringdtype, which would we could also straightforwardly...

@tiangolo is there a chance for getting a review for this PR? 🙏