azure-sdk-for-python
azure-sdk-for-python copied to clipboard
Generated SDK weird type: Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties
- Package Name:
- Package Version:
- Operating System:
- Python Version:
Describe the bug
Some SDKs Models have a type with this name: Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties
https://github.com/Azure/azure-sdk-for-python/blob/2d32ffe99da7194ae721e209137025da220206d4/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/init.py#L34
I guess this is some typo in the REST specs or issue with generator?
To Reproduce Steps to reproduce the behavior: 1.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @southpolesteve, @zfoster
Thanks for the feedback, we'll investigate asap. adding @msyyc who could comment further on the mgmt libraries.
@lmazuel It seems a known issue. Could you help to confirm it?
@yunhaoling Please provide more detailed info :
@msyyc It is an issue with a bunch of different SDKs. You can search for this string in this repo to get all entries.. This might be the easiest way.
Hi @logachev. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “/unresolve
” to remove the “issue-addressed” label and continue the conversation.
Hi @logachev, since you haven’t asked that we “/unresolve
” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve
” to reopen the issue.
/unresolve
Not sure why it was even marked as resolved. Now there are 2 entries that are clearly some generator/data issue
https://github.com/Azure/azure-sdk-for-python/blob/84a9eb69dc38332434645d6556703716ff549fa7/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/init.py#L45
@RAY-316 I still see it in latest azure-mgmt-cosmosdb 7.0.0b5. Please double check.
Hi @logachev We find the cause is that there is too deep nest in swagger: https://github.com/Azure/azure-rest-api-specs/blob/6c065f8439e6d9cd02bf4f8268fae7f86a5f0fa9/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-05-15-preview/managedCassandra.json#L1083-L1170. We will rename it in swagger and release a new version. Thanks for the patience!
There is no weird type in latest version: https://pypi.org/project/azure-mgmt-cosmosdb/8.0.0b2/
Hi @logachev. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “/unresolve
” to remove the “issue-addressed” label and continue the conversation.
Hi @logachev, since you haven’t asked that we “/unresolve
” the issue, we’ll close this out. If you believe further discussion is needed, please add a comment “/unresolve
” to reopen the issue.