We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See pydantic/pydantic#857 (comment) and pydantic/pydantic#857 (comment)
@ddanier thank you for that! It works really well. The only issue is it removes the pyright types: Without AsyncValidationModelMixin: With AsyncValidationModelMixin:
@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):
@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):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See pydantic/pydantic#857 (comment) and pydantic/pydantic#857 (comment)
AND
The text was updated successfully, but these errors were encountered: