Locations: 1. https://github.com/python/importlib_resources/blob/56c21cd058dcc200c38cccd81fde81ad06d934db/importlib_resources/simple.py#L19 2. https://github.com/python/importlib_resources/blob/acfc5c92bf38ced40c6a812599697fa36e363407/importlib_resources/abc.py#L142 Docs: https://docs.python.org/3/library/abc.html#abc.abstractproperty Instead one should use: ```python @property @abc.abstractmethod def ... ``` I will send a PR to change this to a new API. Maybe there are reasons why it should stay as-is? Found in https://github.com/python/mypy/pull/13647
Locations:
importlib_resources/importlib_resources/simple.py
Line 19 in 56c21cd
importlib_resources/importlib_resources/abc.py
Line 142 in acfc5c9
Docs: https://docs.python.org/3/library/abc.html#abc.abstractproperty
Instead one should use:
I will send a PR to change this to a new API. Maybe there are reasons why it should stay as-is?
Found in python/mypy#13647