Skip to content

Commit fcee3ed

Browse files
author
Yalin Li
authored
Add AppConfig python configs (#31489)
1 parent 800678e commit fcee3ed

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

specification/appconfiguration/AppConfiguration/client.tsp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ using AzureAppConfiguration;
77

88
namespace SdkCustomizations;
99

10-
// Cross-language customizations
11-
// except Java, since Java has built-in type in azure-core for Error model.
12-
@@clientName(Foundations.Error, "ErrorDetail", "python,csharp,javascript,go");
13-
1410
// Python specific customizations
1511
@@clientName(KeyValueFields, "ConfigurationSettingFields", "python");
1612
@@clientName(CompositionType, "SnapshotComposition", "python");
1713
@@access(putKeyValue, Access.internal, "python");
1814
@@access(updateSnapshot, Access.internal, "python");
15+
@@access(SnapshotUpdateParameters, Access.public, "python");

specification/appconfiguration/AppConfiguration/tspconfig.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ options:
1515
"@azure-tools/typespec-python":
1616
package-dir: "azure-appconfiguration"
1717
package-name: "{package-dir}"
18+
package-pprint-name: "App Configuration Data"
1819
package-mode: dataplane
1920
flavor: azure
2021
generate-test: true

0 commit comments

Comments
 (0)