tuya / tuya-iot-python-sdk

Tuya IoT Python SDK for Tuya Open API.
MIT License
130 stars 49 forks source link

Change abstractclassmethod decorator to abstractmethod #48

Closed cdce8p closed 2 years ago

cdce8p commented 2 years ago

Both TuyaDeviceListener and DeviceManage don't use classmethods, thus they shouldn't decorate functions with @abstractclassmethod. Instead @abstractmethod should be used.

zlinoliver commented 2 years ago

Hi @cdce8p , thanks for the contribution, will merge this PR.

cdce8p commented 2 years ago

Thanks @zlinoliver! I just saw that the repo has a new default branch main. It seems like the PR wasn't updated automatically unfortunately and thus was merged into master instead.