-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deserialization issue for the polymorphism support with python SDK generated in swagger PR #35589
Comments
thanks for opening the issue @jiec-msft . We know what's causing this issue, it's a known bug in LRO, in case the LRO finish immediately while the return is a polymorphic type. Polymorphic deserialization pops from the resulting JSON, and if the LRO is done twice, we deserialize twice, but the second time the discriminator is not here anymore so we're not returning the polymorphic child. Since there's a customer ticket we're going to restart our discussions on how best to solve this issue |
FYI: same issue as Azure/autorest.python#2428 |
Describe the bug
Deserialization issue for the polymorphism support with python SDK generated in swagger PR.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect output by CLI like below in the right:
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
{
"azure-cli": "2.56.0",
"azure-cli-core": "2.56.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"aks-preview": "0.5.137",
"spring": "1.24.0"
}
}
The text was updated successfully, but these errors were encountered: