HewlettPackard / python-ilorest-library

Python library for interacting with devices which support a Redfish Service
Apache License 2.0
189 stars 92 forks source link

Invalid syntax when importing #139

Closed njnatale-lm closed 1 year ago

njnatale-lm commented 1 year ago

With version 4.0.0.0, I can't actually import redfish to use it.

My script has from redfish import RedfishClient and can't do so because of an invalid syntax error citing this line: https://github.com/HewlettPackard/python-ilorest-library/blob/master/src/redfish/rest/v1.py#L617

This also happens if I try to run the simple quickstart_redfish.py script.

I've seen talks of 4.0.0.2 but I do not see a tag or release; regardless, the source file I've linked to above hasn't changed recently.

This is with Python 2 (RHEL 7).

njnatale-lm commented 1 year ago

Disregard; I hadn't realized that Python 2 was dropped long ago. It wasn't super clear that it had been dropped.