N4S4 / synology-api

A Python wrapper around Synology API
MIT License
360 stars 137 forks source link

Upgrade to (at least) Python 3.8 #127

Closed PanchoVarallo closed 1 year ago

PanchoVarallo commented 1 year ago

Currently, the package cannot be used with Python 3.8.

As dict annotations are used, you should use from __future__ import annotations. This will required a Python update.

https://github.com/N4S4/synology-api/blob/b5d30f82e306af011e911cf6ef87002be38f6d77/synology_api/error_codes.py#L88

N4S4 commented 1 year ago

True, i will work on this as soon I have a bit of time

Thank you for reporting this i did not think about

N4S4 commented 1 year ago

fixed with PR #128 changes will take place with release 0.6.2

PanchoVarallo commented 1 year ago

Great! Thank you! I will try that out soon ...