See https://github.com/pydantic/pydantic/issues/857#issuecomment-1786081999 and https://github.com/pydantic/pydantic/issues/857#issuecomment-1786095771 > @ddanier thank you for that! It works really well. The only issue is it removes the pyright types: > > Without AsyncValidationModelMixin: > >  > > With AsyncValidationModelMixin: > >  AND > @ddanier I found a fix for the typing issue; in metaclasses.py line 17; you can change it to (make sure to add the missing imports): > > ``` > @dataclass_transform(kw_only_default=True, field_specifiers=(Field,)) > class AsyncValidationModelMetaclass(ModelMetaclass): > ```