I am working in modifications of codes in Openstack Designate.
During the same I need to print some data.
When I checked for type of the same, it returned the details as follows:
<class 'designate.openstack.common.rpc.amqp.RpcContext'>
When I tried to log the same (for printing), It is returning the details as follows:
<designate.openstack.common.rpc.amqp.RpcContext object at 0x7f7552b08250>
I know that it contains the tenant_id, So when I am trying to print the same it is working fine.
LOG.info(context.tenant_id)
Now I need to know or see what is inside:
<designate.openstack.common.rpc.amqp.RpcContext object at 0x7f7552b08250>
That is inside 'context'.
What I need is simply printing the details which resides inside 'context'