Commvault / cvpysdk

Developer SDK - Python
https://commvault.github.io/cvpysdk/
Apache License 2.0
54 stars 41 forks source link

Syntax error in plan.py #178

Closed intervisionlord closed 5 months ago

intervisionlord commented 5 months ago

https://github.com/Commvault/cvpysdk/blob/f768586c443246b3f15ea9e0ce54ee301edc6c1c/cvpysdk/plan.py#L245

cvpysdk/plan.py", line 245
    if region_name := copy_details.get("region_name"):
                    ^
SyntaxError: invalid syntax

Python 3.6 walrus operators anounced in python 3.8

cvpysdk compatibility declared as Python 3.6 and above

spakhare commented 5 months ago

Hi @intervisionlord,

Can you please try using Python 3.9 or higher? We have updated our supported Python version in our Readme.

Thanks

intervisionlord commented 5 months ago

uh... sad story (i used 3.11, but our production environment only 3.6 right now) well... thanks for clarify.