Commit Graph
2 Commits
Author SHA1 Message Date
w0rp 4a0dd04611 Set types for on_delete functions (#772)
Set types for on_delete functions so they can be provided as values to
the on_delete attribute of ForeignKey in Pyright's strict mode.
2021-12-17 22:20:01 +03:00
w0rp 059471101c Fix the get_field type for Pyright (#773)
This PR fixes the type of get_field so it won't report errors in
Pyright's strictest type checking mode.
2021-12-13 20:05:23 +03:00