NSManagedHuman / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

Always returns a response's data value even when not appropriate. #208

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
    if isinstance(body, dict) and 'data' in body:

Instead it should check for the dataWrapper feature in discovery.

Original issue reported on code.google.com by afs...@google.com on 17 Oct 2012 at 10:18

GoogleCodeExporter commented 8 years ago
To be clear, this is in the JsonModel deserialize method.

Original comment by schrierc@google.com on 17 Oct 2012 at 10:38

GoogleCodeExporter commented 8 years ago
Fixed in: 
http://code.google.com/p/google-api-python-client/source/detail?r=5032f9751caa06
3986caa55c0de6359d940c1c10

Original comment by afs...@google.com on 23 Oct 2012 at 6:16