Azure / msrest-for-python

The runtime library "msrest" for AutoRest generated Python clients.
MIT License
41 stars 64 forks source link

Should refuse a string as a valid list of string #41

Closed lmazuel closed 7 years ago

lmazuel commented 7 years ago

Ends up in the portal as ['a','b','c'] if we use Model('abc') instead of Model(['abc']). Should fail, accepting a string for a list of string is likely an error and not a feature.

See https://github.com/Azure/azure-sdk-for-python/issues/1376#issuecomment-323409463