django-typed-models
django-typed-models copied to clipboard
Type stubs?
Type stubs for this library would be great so that it doesn't interfere with usage of static type checkers like pyright. Currently, since there's no stub file, static type checkers are unable to fully determine types of attributes of models that inherit from TypedModel.
I generated a stub file in my project via pyright --createstub typedmodels, but it would be nice to have types maintained with this library in case the API changes in the future.
https://github.com/craigds/django-typed-models/pull/76