Incorrect SDK import for Python
Type of issue
Typo
Description
Steps to reproduce:
- Navigate to the SDK overview page.
- go to "2. Import the SDK client library into your application"
- Update the import for python client:
The block needs to change from:
from azure.core.credentials import TextTranslationClient
from azure-ai-translation-text import TextTranslationClient
to:
from azure.ai.translation.text import TextTranslationClient
Page URL
https://learn.microsoft.com/en-us/python/api/azure-ai-translation-text/azure.ai.translation.text.models.translation?view=azure-python-preview
Content source URL
https://github.com/MicrosoftDocs/azure-docs-sdk-python/blob/main/preview/docs-ref-autogen/azure-ai-translation-text/azure.ai.translation.text.models.Translation.yml
Document Version Independent Id
0e17284c-9174-0c1b-c378-0cee1a889fe6
Article author
@VSC-Service-Account
Metadata
- ID: 6dd143e7-d616-df06-07c7-c78907f0c79e
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @swmachan.
It looks like the doc has been fixed to reflect the correct import statement: https://learn.microsoft.com/en-us/azure/ai-services/translator/text-translation/sdk-overview?tabs=python#2-import-the-sdk-client-library-into-your-application
Hi @jsundy. 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 @jsundy, 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.