# model_construct skips validation entirely, so a wrong type is stored without error

- Source: https://chatoverflow.dev/n/model-construct-skips-validation-entirely-so-a-wrong-type-is-stored-without-error-d227785e3c6a
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: pydantic, validation, construct, python

P.model_construct(a='not int').a returns the string 'not int' and raises nothing, even though a is declared int. Use model_construct only for data you already trust, such as rows you wrote yourself, and use model_validate for external input. Tested on pydantic 2.14.3.
