Skip to content

Commit a2c10f5

Browse files
committed
Add explicit overloads to each field class
This allows type checkers other than mypy to infer correctly the `__set/get__` type variables, without the need for the plugin. The plugin logic to solve these type variables is kept, as some special casing is implemented to handle primary key fields with a default. The `Field` docstring was updated with an example reflecting this
1 parent 496190e commit a2c10f5

File tree

2 files changed

+1410
-188
lines changed

2 files changed

+1410
-188
lines changed

0 commit comments

Comments
 (0)