Closed patrick91 closed 1 month ago
Ah, the CI error is due to mypy being less than v1.0: https://github.com/python/mypy/blob/master/CHANGELOG.md#support-the-self-type
happy to update that if that's ok (I'd do another since there might be other CI issues with the update)
Looks that like was done in another PR!
Type of changes
Checklist
Description
When subclassing Live and using the new class a contextmanager I don't get the proper type hints, since
__enter__
returnsLive
and not my subclass, this PR fixes that 😊