todofixthis / class-registry

Registry pattern for Python classes, with setuptools entry points integration!
MIT License
40 stars 8 forks source link

[#15] Added generic type hints 🧞 #17

Closed todofixthis closed 10 months ago

todofixthis commented 10 months ago

closes #15 (thanks @VRichardJP for suggesting!)

⚠️ Backwards-incompatible changes

MRO changes

Changed signatures

These changes only impact your code if you've created classes that derive from ClassRegistry and override the following methods. If your code is impacted, it shouldn't generate any runtime errors, but it may cause your IDE to warn about incompatible signatures and/or generate mypy errors.

If your code is impacted by the above changes, please post an issue describing your use case, so that I can have a look.

⚠️ Deprecations

Major changes

Minor changes