Skip to content

Commit 7984863

Browse files
committed
Update howto-variant-feature-flags-python.md
1 parent ee72389 commit 7984863

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

articles/azure-app-configuration/howto-variant-feature-flags-python.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,6 @@ If you already have a Python Flask web app, you can skip to the [Use the variant
273273
<form action="/" method="post">
274274
</form>
275275
</div>
276-
<script>
277-
function heartClicked(button) {
278276
{% endblock %}
279277
```
280278
@@ -452,8 +450,7 @@ If you already have a Python Flask web app, you can skip to the [Use the variant
452450
1. Open `routes.py` and add the following code to the end of it to refresh configuration and get the feature variant.
453451
454452
```python
455-
from featuremanagement.azuremonitor import track_event
456-
from . import azure_app_config, feature_manager
453+
from . import feature_manager
457454
458455
# Update greeting_message to variant
459456
greeting = feature_manager.get_variant("Greeting", user)

0 commit comments

Comments
 (0)