Azure / Azure/azure-sdk-for-python

[ai-document-translation] Readme code snippets have missing imports

Offen
#46,499 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @xiangyan99 Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
5.6k
Forks
3.4k
Ø Merge
2 T.
Gemergte PRs (30 T.)
217

Beschreibung

Update the code snippets on readme and make sure they have all the required imports. For instance, https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/translation/azure-ai-translation-document/README.md#create-the-client-with-azurekeycredential has missing `os import` .
If we want to make this compatible with AI agents and azure-skills-python, the readmes is the place the agents and skills get their context from and get regenrated. So make sure they are in the correct shape.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.