kulpa / google-api-python-client

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

Discovery clients don't handle repeated enums #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[Use this form for both apiclient and oauth2client issues]

What steps will reproduce the problem?
1. Create an API with a repeated enum argument
2. Try to pass a list of enums as the argument
3. Watch an exception get thrown.

What is the expected output? What do you see instead?
Expected: ['foo', 'bar'] is a valid argument. Instead: "['foo', 'bar'] is not 
in ['foo', 'bar', 'baz']"

What version of the product are you using? On what operating system?
1.0-beta7 on Python 2.7

Original issue reported on code.google.com by craigcitro@google.com on 1 Mar 2012 at 6:26

GoogleCodeExporter commented 9 years ago
CL out for review:

http://codereview.appspot.com/5712054/

Original comment by craigcitro@google.com on 1 Mar 2012 at 7:37

GoogleCodeExporter commented 9 years ago
Committed in 
http://code.google.com/p/google-api-python-client/source/detail?r=52d93d6452f28f
7faef9d337b146b41c18240ffd

Original comment by jcgregorio@google.com on 1 Mar 2012 at 9:44