Jorge Massih
Jorge Massih
Any updates about this?
Seems to be the same as https://github.com/tortoise/tortoise-orm/issues/1440
> up to now: > > pydantic-core: 2.7 > fix: > https://github.com/pydantic/pydantic-core/pull/934 > > pydantic: last resource: > with commit: > https://github.com/pydantic/pydantic/commit/2575e71894a32dc615f9fa7a94ff37bb604a48a8 > > run result: > > File "/Users/liujunyong/python310env/lib/python3.10/site-packages/tortoise/contrib/pydantic/creator.py",...
> Try develop source code Actually, I'm already using it.
I think that changing `NoValuesFetched` to `AttributeError` will bypass the real error, since `team_members` should be available if the relationship exists.
@waketzheng thanks, I've updated the example and the error message. Now it's able to reproduce.
I figured out that the problem is for attributes that are not in the serialized class. Since backward relations fields are not being migrated when the new Pydantic class is...
@long2ice I think the most suitable option is to resolve computed fields before Pydantic model has been serialized, moreover, I understand that the concept being sought for `computed_fields` is a...
Same here!
> I am running into the same error, however, only whilst using `ansible-lint@main` as a GitHub workflow action. Running `ansible-lint` locally did not fail, yet. > > The used version...