Skip to content

Commit 4b51552

Browse files
msyycCopilot
andauthored
[privatedns] Add python client name customization to avoid SDK breaking (#44438)
Preserve the existing Python SDK client name PrivateDnsManagementClient via @@clientName python override to prevent a breaking change when the SDK is regenerated from TypeSpec. Mirrors the existing javascript and java overrides. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 55e794b commit 4b51552

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • specification/privatedns/resource-manager/Microsoft.Network/PrivateDns

specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/client.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using Microsoft.Network;
55

66
@@clientName(Microsoft.Network, "PrivateDnsManagementClient", "javascript");
77
@@clientName(Microsoft.Network, "PrivateDnsManagementClient", "java");
8+
@@clientName(Microsoft.Network, "PrivateDnsManagementClient", "python");
89

910
// Add .NET SDK config
1011
#suppress "@azure-tools/typespec-client-generator-core/client-option" "Customize generated C# resource names for expanded Private DNS record-set resources."

0 commit comments

Comments
 (0)