首页 > 代码库 > openstacksdk resource2 打印__dict__

openstacksdk resource2 打印__dict__

在一个继承resource2的实体里,打印self.__dict__结果是:

{_body: <openstack.resource2._ComponentManager object at 0x7f0e02a15550>, _uri: <openstack.resource2._ComponentManager object at 0x7f0e02a159d0>, _header: <openstack.resource2._ComponentManager object at 0x7f0e02a15f50>}

 

openstacksdk resource2 打印__dict__