Azure / Azure/azure-sdk-for-python
[conversations/textanalytics authoring]Naming cleanup: remove resource duplication in method names before GA
Open
Client
Cognitive - Language
Cognitive - Text Analytics
- Dominant language
- Python
- Stars
- 5.6k
- Forks
- 3.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 193
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.