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>}

 

posted @ 2017-01-12 21:35  圆旭  阅读(182)  评论(0编辑  收藏  举报