Skip to content

Commit dad62dd

Browse files
msyycCopilot
andauthored
[edgeorder] Add python client name customization to avoid SDK breaking (#44435)
Preserve the existing Python SDK client name EdgeOrderManagementClient via @@clientName python override to prevent a breaking change when the SDK is regenerated from TypeSpec. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 01b4583 commit dad62dd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder

specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder/client.tsp

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

7+
// Preserve the existing Python SDK client name to avoid breaking changes
8+
@@clientName(Microsoft.EdgeOrder, "EdgeOrderManagementClient", "python");
9+
710
// csharp
811
@@clientName(AddressUpdateParameter, "EdgeOrderAddressPatch", "csharp");
912
@@clientName(

0 commit comments

Comments
 (0)