Updating applicationGateways property of waf policy throws ...
github.com › Azure › azure-cliJul 23, 2019 · Unable to build a model: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get', DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get' Traceback (most recent call last): pip-install-ygnynjtx\msrest\msrest\serialization.py, ln 1288, in _deserialize pip-install-ygnynjtx\msrest\msrest\serialization.py ...
[Python] Unable to deserialize when RestAPI answer is a ...
github.com › Azure › autorestJan 17, 2017 · As it happens the Python generator is not supposed to be generating the polymorphic discriminator as an attribute of the model class - I'm not sure when/how this snuck in (probably very early on) but the runtime is designed to serialize/deserialize without this attribute - so it should be safe to remove it (in fact I have done so, in a long ...