File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo
29
29
* ** readme:** add code coverage badge ([ #577 ] ( https://github.com/awslabs/aws-lambda-powertools-python/issues/577 ) )
30
30
* ** tracer:** update wording that it auto-disables on non-Lambda env
31
31
* ** feature-flags:** fix SAM infra, convert CDK to Python
32
-
32
+ * ** feature-flags: ** fix sample feature name in evaluate method
33
33
### Features
34
34
35
35
* ** api-gateway:** add support for custom serializer ([ #568 ] ( https://github.com/awslabs/aws-lambda-powertools-python/issues/568 ) )
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ The `evaluate` method supports two optional parameters:
192
192
193
193
# Evaluate whether customer's tier has access to premium features
194
194
# based on `has_premium_features` rules
195
- has_premium_features: bool = feature_flags.evaluate(name="has_premium_features ",
195
+ has_premium_features: bool = feature_flags.evaluate(name="premium_features ",
196
196
context=ctx, default=False)
197
197
if has_premium_features:
198
198
# enable premium features
You can’t perform that action at this time.
0 commit comments