Azure / Azure/azure-sdk-for-python
[conversations/textanalytics authoring]Naming cleanup: remove resource duplication in method names before GA
Offen
#43,008
0 Kommentare
0 Reaktionen
1 zugewiesene Person
Beansprucht von @amber-Chen-86
Auf GitHub ansehen
Client
Cognitive - Language
Cognitive - Text Analytics
- Vorherrschende Sprache
- Python
- Sterne
- 5.6k
- Forks
- 3.4k
- Ø Merge
- 2 T. 2 Std.
- Gemergte PRs (30 T.)
- 213
Beschreibung
Per PR review feedback(https://github.com/Azure/azure-sdk-for-python/pull/42971#discussion_r2342751935), several public methods repeat the resource name in both the operation group and the method (e.g., project_client.trained_model.delete_trained_model(...)).
To improve readability, we should simplify these to verbs only on sub-clients (e.g., project_client.trained_model.delete(...)).
Apply consistently to sync and async APIs.
PR reference: https://github.com/Azure/azure-sdk-for-python/pull/42971
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.