Commit d2e1ce9
committed
fix(mypy): add type ignore comment for File class FieldInfo inheritance
Add type: ignore[misc] comment to suppress mypy error about inheriting
from final FieldInfo class in Pydantic. This matches the upstream pattern
used for similar classes and allows the code to pass mypy type checking
in Python 3.10+.
- Fix mypy error: Cannot inherit from final class 'FieldInfo'
- Matches upstream _File class pattern with type ignore
- All tests passing (25/25)
- All quality checks passing (format, lint, mypy)1 parent c146abe commit d2e1ce9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
950 | | - | |
| 950 | + | |
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
| |||
0 commit comments