Skip to content

Commit

Permalink
Add AppConfig python configs (Azure#31489)
Browse files Browse the repository at this point in the history
  • Loading branch information
YalinLi0312 authored Nov 12, 2024
1 parent 800678e commit fcee3ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions specification/appconfiguration/AppConfiguration/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ using AzureAppConfiguration;

namespace SdkCustomizations;

// Cross-language customizations
// except Java, since Java has built-in type in azure-core for Error model.
@@clientName(Foundations.Error, "ErrorDetail", "python,csharp,javascript,go");

// Python specific customizations
@@clientName(KeyValueFields, "ConfigurationSettingFields", "python");
@@clientName(CompositionType, "SnapshotComposition", "python");
@@access(putKeyValue, Access.internal, "python");
@@access(updateSnapshot, Access.internal, "python");
@@access(SnapshotUpdateParameters, Access.public, "python");
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ options:
"@azure-tools/typespec-python":
package-dir: "azure-appconfiguration"
package-name: "{package-dir}"
package-pprint-name: "App Configuration Data"
package-mode: dataplane
flavor: azure
generate-test: true
Expand Down

0 comments on commit fcee3ed

Please sign in to comment.