Skip to content

Commit 0f16a75

Browse files
Merge pull request #230249 from mrm9084/main
Azure App Configuration Python Provider GA
2 parents 4f077e6 + 556d5ee commit 0f16a75

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

articles/azure-app-configuration/quickstart-python-provider.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
---
2-
title: Quickstart for using Azure App Configuration with Python apps (preview) | Microsoft Learn
2+
title: Quickstart for using Azure App Configuration with Python apps | Microsoft Learn
33
description: In this quickstart, create a Python app with the Azure App Configuration to centralize storage and management of application settings separate from your code.
44
services: azure-app-configuration
55
author: maud-lv
66
ms.service: azure-app-configuration
77
ms.devlang: python
88
ms.topic: quickstart
99
ms.custom: devx-track-python, mode-other, engagement-fy23
10-
ms.date: 11/30/2022
10+
ms.date: 03/10/2023
1111
ms.author: malev
1212
#Customer intent: As a Python developer, I want to manage all my app settings in one place.
1313
---
14-
# Quickstart: Create a Python app with Azure App Configuration (preview)
14+
# Quickstart: Create a Python app with Azure App Configuration
1515

16-
> [!IMPORTANT]
17-
> The Python provider for Azure App Configuration is currently in preview.
18-
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
16+
In this quickstart, you will use the Python provider for Azure App Configuration to centralize storage and management of application settings using the [Azure App Configuration Python provider client library](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration-provider).
1917

20-
In this quickstart, you will use the Python provider for Azure App Configuration (preview) to centralize storage and management of application settings using the [Azure App Configuration Python provider client library](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration-provider).
21-
22-
The Python App Configuration provider is a library in preview running on top of the [Azure SDK for Python](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration), helping Python developers easily consume the App Configuration service. It enables configuration settings to be used like a dictionary.
18+
The Python App Configuration provider is a library running on top of the [Azure SDK for Python](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration), helping Python developers easily consume the App Configuration service. It enables configuration settings to be used like a dictionary.
2319

2420
## Prerequisites
2521

@@ -64,15 +60,15 @@ The Python App Configuration provider is a library in preview running on top of
6460

6561
```python
6662
from azure.appconfiguration.provider import (
67-
load_provider,
63+
load,
6864
SettingSelector
6965
)
7066
import os
7167

7268
connection_string = os.environ.get("AZURE_APPCONFIG_CONNECTION_STRING")
7369

7470
# Connect to Azure App Configuration using a connection string.
75-
config = load_provider(connection_string=connection_string)
71+
config = load(connection_string=connection_string)
7672

7773
# Find the key "message" and print its value.
7874
print(config["message"])
@@ -81,13 +77,13 @@ The Python App Configuration provider is a library in preview running on top of
8177

8278
# Connect to Azure App Configuration using a connection string and trimmed key prefixes.
8379
trimmed = {"test."}
84-
config = load_provider(connection_string=connection_string, trim_prefixes=trimmed)
80+
config = load(connection_string=connection_string, trim_prefixes=trimmed)
8581
# From the keys with trimmed prefixes, find a key with "message" and print its value.
8682
print(config["message"])
8783

8884
# Connect to Azure App Configuration using SettingSelector.
8985
selects = {SettingSelector(key_filter="message*", label_filter="\0")}
90-
config = load_provider(connection_string=connection_string, selects=selects)
86+
config = load(connection_string=connection_string, selects=selects)
9187

9288
# Print True or False to indicate if "message" is found in Azure App Configuration.
9389
print("message found: " + str("message" in config))
@@ -190,4 +186,6 @@ In this quickstart, you created a new App Configuration store and learned how to
190186
For additional code samples, visit:
191187
192188
> [!div class="nextstepaction"]
189+
> [Django Sample](https://github.com/Azure/AppConfiguration/tree/main/examples/Python/python-django-webapp-sample)
190+
> [Flask Sample](https://github.com/Azure/AppConfiguration/tree/main/examples/Python/python-flask-webapp-sample)
193191
> [Azure App Configuration Python provider](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/appconfiguration/azure-appconfiguration-provider)

0 commit comments

Comments
 (0)