I\'m receiving an object, t, from an api of type Object. I am unable to pickle it, getting the error:
File \"p.py\", line 55, in
You may want to read the python docs and check your API's Object class afterwards.
With respect to the "internal structure of the object", usually instance attributes are stored in the __dict__ attribute (and since class attributes are not pickled you only care about the instance attributes) - but note that you'll also have to recursively inspect the __dict__s for each attribute.