Skip to content

Commit f16b9dc

Browse files
committed
chore: fix example syntax in README
Signed-off-by: Danju Visvanathan <danju.visvanathan@gmail.com>
1 parent 4c24e80 commit f16b9dc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,14 @@ This is essential for robust experimentation powered by feature flags.
193193
For example, a flag enhancing the appearance of a UI component might drive user engagement to a new feature; to test this hypothesis, telemetry collected by a [hook](#hooks) or [provider](#providers) can be associated with telemetry reported in the client's `track` function.
194194

195195
```python
196-
// initilize a client
197-
client := api.get_client()
196+
# initilize a client
197+
client = api.get_client()
198198

199-
// trigger tracking event action
199+
# trigger tracking event action
200200
client.Track(
201201
'visited-promo-page',
202-
EvaluationContext{},
203-
openfeature.TrackingEventDetails(99.77).add("currencyCode", "USD"),
202+
evaluation_context=EvaluationContext{},
203+
tracking_event_details=openfeature.TrackingEventDetails(99.77).add("currencyCode", "USD"),
204204
)
205205
```
206206

0 commit comments

Comments
 (0)