Skip to content

Commit

Permalink
Merge pull request #415 from amplitude/exp-assign-props
Browse files Browse the repository at this point in the history
Add send_evaluated_props config for Experiment python SDK
  • Loading branch information
tyiuhc authored Jan 7, 2025
2 parents 07464f0 + 96e34e2 commit 7ad0ba4
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions content/collections/experiment-sdks/en/experiment-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,22 +255,23 @@ If you're using Amplitude's EU data center, configure the `server_zone` option o

**LocalEvaluationConfig**

| <div class="big-column">Name</div> | Description | Default Value |
| --- | --- | --- |
| `debug` | Set to `true` to enable debug logging. | `false` |
| `server_zone` | The Amplitude data center to use. Either `ServerZone.US` or `ServerZone.EU` | `ServerZone.US` |
| `server_url` | The host to fetch flag configurations from. | `https://api.lab.amplitude.com` |
| `flag_config_polling_interval_millis` | The interval to poll for updated flag configs after calling [`start()`](#start) | `30000` |
| `flag_config_poller_request_timeout_millis` | The timeout for the request made by the flag config poller | `10000` |
| `assignment_config` | Configuration for automatically tracking assignment events after an evaluation. | `None` |
| `cohort_sync_config` | Configuration to enable cohort downloading for [local evaluation cohort targeting](#local-evaluation-cohort-targeting). | `None` |
| <div class="big-column">Name</div> | Description | Default Value |
| --- |-------------------------------------------------------------------------------------------------------------------------|---------------------------------|
| `debug` | Set to `True` to enable debug logging. | `False` |
| `server_zone` | The Amplitude data center to use. Either `ServerZone.US` or `ServerZone.EU` | `ServerZone.US` |
| `server_url` | The host to fetch flag configurations from. | `https://api.lab.amplitude.com` |
| `flag_config_polling_interval_millis` | The interval to poll for updated flag configs after calling [`start()`](#start) | `30000` |
| `flag_config_poller_request_timeout_millis` | The timeout for the request made by the flag config poller | `10000` |
| `assignment_config` | Configuration for automatically tracking assignment events after an evaluation. | `None` |
| `cohort_sync_config` | Configuration to enable cohort downloading for [local evaluation cohort targeting](#local-evaluation-cohort-targeting). | `None` |

**AssignmentConfig**

| <div class="big-column">Name</div> | Description | Default Value |
| --- | --- | --- |
| `api_key` | The analytics API key and NOT the experiment deployment key | *required* |
| `cache_capacity` | The maximum number of assignments stored in the assignment cache | `65536` |
| `send_evaluated_props`| Set to `True` to send properties of the evaluated user in assignment events | `False` |
| [Analytics SDK Options](/docs/sdks/analytics-sdks/python/python-sdk#configuration) | Options to configure the underlying Amplitude Analytics SDK used to track assignment events | |

**CohortSyncConfig**
Expand Down

0 comments on commit 7ad0ba4

Please sign in to comment.