Skip to content

Commit 4437f17

Browse files
msyycCopilot
andauthored
[relay] Add python client name customization and remove obsolete ArmResource rename (#44440)
- Set the Python SDK client name to RelayAPIMgmtClient via @@clientName python override. - Remove the no-longer-needed @@clientName ArmResource python override from back-compatible.tsp. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4b51552 commit 4437f17

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

specification/relay/resource-manager/Microsoft.Relay/Relay/back-compatible.tsp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,3 @@ using Microsoft.Relay;
118118

119119
// NamespacesOperationGroup operations
120120
@@clientLocation(NamespacesOperationGroup.checkNameAvailability, "Namespaces");
121-
122-
@@clientName(
123-
Azure.ResourceManager.CommonTypes.Resource,
124-
"ArmResource",
125-
"python"
126-
);

specification/relay/resource-manager/Microsoft.Relay/Relay/client.tsp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import "@azure-tools/typespec-client-generator-core";
44
using Azure.ClientGenerator.Core;
55
using Microsoft.Relay;
66

7+
@@clientName(Microsoft.Relay, "RelayAPIMgmtClient", "python");
8+
79
// Preserve existing "WcfRelays" client name (was "WCFRelays" in TypeSpec)
810
@@clientName(WCFRelays, "WcfRelays", "java");
911

0 commit comments

Comments
 (0)