You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
* FF-3150 feat: allow passing initial_configuration
* FF-3150 feat: make configuration store track initialization
* FF-3150 feat: allow disabling the poller
* feat: re-export Configuration from eppo_client
* FF-3150 docs: update documentation for initialization options
* chore: bump version
* FF-3150 feat: add a method to update configuration of the running client
* check for None or 0
---------
Co-authored-by: Leo Romanovsky <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,9 @@ The `init` function accepts the following optional configuration arguments.
81
81
| ------ | ----- | ----- | ----- |
82
82
|**`assignment_logger`**|[AssignmentLogger](https://github.com/Eppo-exp/python-sdk/blob/ebc1a0b781769fe9d2e2be6fc81779eb8685a6c7/eppo_client/assignment_logger.py#L6-L10)| A callback that sends each assignment to your data warehouse. Required only for experiment analysis. See [example](#assignment-logger) below. |`None`|
83
83
|**`is_graceful_mode`**| bool | When true, gracefully handles all exceptions within the assignment function and returns the default value. |`True`|
84
-
|**`poll_interval_seconds`**| int | The interval in seconds at which the SDK polls for configuration updates. |`300`|
84
+
|**`poll_interval_seconds`**|Optional[int]| The interval in seconds at which the SDK polls for configuration updates. If set to `None`, polling is disabled. |`300`|
85
85
|**`poll_jitter_seconds`**| int | The jitter in seconds to add to the poll interval. |`30`|
86
+
|**`initial_configuration`**| Optional[Configuration]| If set, the client will use this configuration until it fetches a fresh one. |`None`|
0 commit comments