* Set type parameters for Field in get_fields() This fixes an issue with Pyright strict type checking where Pyright complains that the type parameters aren't known. * Fix type parameters in other methods
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.
This PR fixes the type of get_field so it won't report errors in Pyright's strictest type checking mode.