Faulty Pyright error on frozen daughters (frozen=True
) of non-frozen parents (frozen=False
)
#9171
Open
4 of 13 tasks
Labels
Initial Checks
Description
Some of my models used in FastAPI come from 3rd party libraries like
fastapi-users
; here the models arefrozen=False
. Currently, I can actually freeze them, but pyright errors.Idea:
This gives the following pyright error:
Affected Components
.model_dump()
and.model_dump_json()
model_construct()
, pickling, private attributes, ORM modeThe text was updated successfully, but these errors were encountered: