Azure / Azure/azure-sdk-for-python
[conversations/textanalytics authoring]Naming cleanup: remove resource duplication in method names before GA
Aperta
Client
Cognitive - Language
Cognitive - Text Analytics
- Lingua principale
- Python
- Stelle
- 5.6k
- Fork
- 3.4k
- Merge medio
- 2g
- PR unite (30g)
- 217
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.