i am successfully using the python redfish library to connect to redfish rest api and it's working other than a portion of the json data from the rest api is not showing up in debug stack correctly. here is my code sample

import redfish

REDFISH_OBJ = redfish.redfish_client(base_url='', username='root', password='mypassword', default_prefix='/redfish/v1')
response = REDFISH_OBJ.get("/redfish/v1/Systems", None)

the following image shows in pycharm that in the response dict a list called members can't display the variable contents.

yet the text property from the response has the full complete json output including the members list

2020欧洲杯时间表here is the "text" property value from the response formatted out for readability

"@odata.context": "/redfish/v1/$metadata#ComputerSystemCollection.ComputerSystemCollection",
    "@odata.id": "/redfish/v1/Systems",
    "@odata.type": "#ComputerSystemCollection.ComputerSystemCollection",
    "Description": "Collection of Computer Systems",
    "Members": [
            "@odata.id": "/redfish/v1/Systems/System.Embedded.1"
    "Members@odata.count": 1,
    "Name": "Computer System Collection"

2020欧洲杯时间表which has the member list contents all nice and neat :) so i'm just trying to figure out why pycharm or python is not able to display to me the same data under the dict for this member list ?? is there an issue with the redfish library i'm importing or is there something i'm missing in pycharm i've never had this happen before and what i'm doing code-wise doesn't seem extraordinary.

Your Answer

By clicking “Post Your Answer”, you agree to our , and

Browse other questions tagged or ask your own question.