Skip to content

Commit 2028f91

Browse files
committed
lint
1 parent 35307fd commit 2028f91

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

example/openfeature_example.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ def main():
101101
logger.info("=" * 60)
102102

103103
# Test Number Variable (Integer)
104-
open_feature_client.get_integer_details(
105-
"test-number-variable", 0, context
106-
)
104+
open_feature_client.get_integer_details("test-number-variable", 0, context)
107105
logger.info("Variable Key: test-number-variable")
108106
logger.info("Value: {integer_details.value}")
109107
logger.info("Reason: {integer_details.reason}")
@@ -114,9 +112,7 @@ def main():
114112

115113
# Test Number Variable as Float
116114
# Note: If the DevCycle variable is an integer, it will be cast to float
117-
open_feature_client.get_float_value(
118-
"test-number-variable", 0.0, context
119-
)
115+
open_feature_client.get_float_value("test-number-variable", 0.0, context)
120116
logger.info("Variable Key: test-number-variable (as float)")
121117
logger.info("Value: {float_value}")
122118

@@ -137,9 +133,7 @@ def main():
137133
logger.info("=" * 60)
138134

139135
# Test with empty dictionary default (valid per OpenFeature spec)
140-
open_feature_client.get_object_value(
141-
"test-json-variable", {}, context
142-
)
136+
open_feature_client.get_object_value("test-json-variable", {}, context)
143137
logger.info("Variable Key: test-json-variable (with empty default)")
144138
logger.info("Value: {empty_dict_result}")
145139

0 commit comments

Comments
 (0)