You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/use-variant-feature-flags-python.md
+10-15Lines changed: 10 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: 'Tutorial: Use variant feature flags in Azure App Configuration'
2
+
title: 'Tutorial: Use variant feature flags in Azure App Configuration (preview)'
3
3
titleSuffix: Azure App configuration
4
4
description: In this tutorial, you learn how to set up and use variant feature flags in an App Configuration
5
5
#customerintent: As a user of Azure App Configuration, I want to learn how I can use variants and variant feature flags in my application.
@@ -13,7 +13,7 @@ ms.date: 10/28/2024
13
13
14
14
# Tutorial: Use variant feature flags in Azure App Configuration (preview)
15
15
16
-
Variant feature flags enable your application to support multiple variants of a feature. The variants of your feature can be assigned to specific users, groups, or percentile buckets. Variants can be useful for feature rollouts, configuration rollouts, and feature experimentation (also known as A/B testing).
16
+
Variant feature flags (preview) enable your application to support multiple variants of a feature. The variants of your feature can be assigned to specific users, groups, or percentile buckets. Variants can be useful for feature rollouts, configuration rollouts, and feature experimentation (also known as A/B testing).
17
17
18
18
> [!NOTE]
19
19
> A quicker way to start your variant journey is to run the [Quote of the Day AZD sample.](https://github.com/Azure-Samples/quote-of-the-day-python/)- This repository provides a comprehensive example, complete with variants and Azure resource provisioning.
@@ -29,21 +29,21 @@ In this tutorial, you:
29
29
* An Azure subscription. If you don’t have one, [create one for free](https://azure.microsoft.com/free/).
30
30
* An [App Configuration store](./quickstart-azure-app-configuration-create.md).
31
31
32
-
## Create a variant feature flag
32
+
## Create a variant feature flag (preview)
33
33
34
-
Create a variant feature flag called *Greeting* with no label and three variants, *None*, *Simple*, and *Long*. Creating variant flags is described in the [Feature Flag quickstart](./manage-feature-flags.md#create-a-variant-feature-flag-preview).
34
+
Create a variant feature flag (preview) called *Greeting* with no label and three variants, *None*, *Simple*, and *Long*. Creating variant flags is described in the [Feature Flag quickstart](./manage-feature-flags.md#create-a-variant-feature-flag-preview).
35
35
36
36
| Variant Name | Variant Value | Allocation|
37
37
|---|---|---|
38
38
| None *(Default)*| null | 50% |
39
39
| Simple | "Hello!" | 25% |
40
40
| Long | "I hope this makes your day!" | 25% |
41
41
42
-
## Set up an app to use the variants
42
+
## Set up an app to use the variants (preview)
43
43
44
-
In this example, you create a Python Flask web app named _Quote of the Day_. When the app is loaded, it displays a quote. Users can interact with the heart button to like it. To improve user engagement, you want to explore whether a personalized greeting message increases the number of users who like the quote. Users who receive the _None_ variant see no greeting. Users who receive the _Simple_ variant get a simple greeting message. Users who receive the _Long_ variant get a slightly longer greeting.
44
+
In this example, you create a Python Flask web app named _Quote of the Day_. When the app is loaded, it displays a quote. Users can interact with the heart button to like it. To improve user engagement, you want to explore whether a personalized greeting message increases the number of users who like the quote. Users who receive the _None_ variant (preview) see no greeting. Users who receive the _Simple_ variant get a simple greeting message. Users who receive the _Long_ variant get a slightly longer greeting.
45
45
46
-
### Create an app and add user secrets
46
+
### Create an app and add user secrets (preview)
47
47
48
48
1. Create a new project folder named *QuoteOfTheDay*.
49
49
@@ -59,10 +59,10 @@ In this example, you create a Python Flask web app named _Quote of the Day_. Whe
59
59
.\venv\Scripts\Activate
60
60
```
61
61
62
-
1. Install the required packages. The latest preview versions of `azure-appconfiguration-provider`, and `featuremanagement` are required for variant feature flags.
62
+
1. Install the required packages. The latest preview versions of `azure-appconfiguration-provider`, and `featuremanagement` are required for variant feature flags (preview).
0 commit comments