Skip to content

Commit 0f487a1

Browse files
updated ruby layout, added bandits (#512)
* updated ruby layout, added bandits * changed code syntax highlighting to ruby
1 parent 431ab4f commit 0f487a1

File tree

2 files changed

+201
-41
lines changed

2 files changed

+201
-41
lines changed

docs/sdks/server-sdks/python/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ client_config = Config(
6969

7070
This logger takes an analytic event created by Eppo, `assignment`, and writes in to a table in the data warehouse (Snowflake, Databricks, BigQuery, or Redshift). You can read more on the [Event Logging](/sdks/event-logging) page.
7171

72-
The code below illustrates an example implementation of a logging callback using Segment. You can provide any logging function, the only requirement is that the SDK receives a `log_assignment` function that write the Eppo-managed `assignment` event to your data warehouse.
72+
The code below illustrates an example implementation of a logging callback using Segment. You can provide any logging function, the only requirement is that the SDK receives a `log_assignment` function that writes the Eppo-managed `assignment` event to your data warehouse.
7373

7474
Here we define an implementation of the Eppo `AssignmentLogger` class containing a single function named `log_assignment`:
7575

@@ -129,7 +129,7 @@ get_string_assignment(...)
129129
get_json_assignment(...)
130130
```
131131

132-
Each function has the same signature, but returns the type in the function name. The only exception is `default_value`, which should be the same type as the flag. For boolean flags for instance, you should use `getBooleanAssignment`, which has the following signature:
132+
Each function has the same signature, but returns the type in the function name. The only exception is `default_value`, which should be the same type as the flag. For boolean flags for instance, you should use `get_boolean_assignment`, which has the following signature:
133133

134134
```python
135135
get_boolean_assignment(

0 commit comments

Comments
 (0)