Azure / Azure/azure-sdk-for-python

[conversations/textanalytics authoring]Naming cleanup: remove resource duplication in method names before GA

Open
#43,008 0 comments 0 reactions 1 assignee Claimed by @amber-Chen-86 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.