Closed schulz closed 2 years ago
I'll check it tomorrow.
same problem encountered.
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/tmp/ipykernel_106/412349273.py in <module>
----> 1 with SynologyDrive(NAS_USER, NAS_PASS, NAS_IP, dsm_version='7') as synd:
2 pass
TypeError: __init__() got an unexpected keyword argument 'dsm_version'
@wellsleep I'll fix it on Monday.
@schulz @wellsleep You can try 1.0.6.
1.0.6 worked!
@zbjdonald it works, thank you!
Hi,
dsm_version
parameter is not accepted bySynologyDrive
class and is not passed toSynologySession
.SynologySession
dsm_version
default value is 6 thus the documentation description is wrong, please update the code.