Skip to content

Commit bb65dbd

Browse files
committed
chore: use correct import path in README
Signed-off-by: Danju Visvanathan <danju.visvanathan@gmail.com>
1 parent cdadfaf commit bb65dbd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,14 +193,16 @@ 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+
from openfeature.track import TrackingEventDetails
197+
196198
# initialize a client
197199
client = api.get_client()
198200

199201
# trigger tracking event action
200202
client.track(
201203
'visited-promo-page',
202204
evaluation_context=EvaluationContext(),
203-
tracking_event_details=openfeature.TrackingEventDetails(99.77).add("currencyCode", "USD"),
205+
tracking_event_details=TrackingEventDetails(99.77).add("currencyCode", "USD"),
204206
)
205207
```
206208

0 commit comments

Comments
 (0)