Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 4e88795

Browse files
authored
fix: | on dicts is only available with Python-3.9+ (#66)
1 parent 79e5259 commit 4e88795

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eppo_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def convert_context_attributes_to_attributes(
469469
return subject_context
470470

471471
# ignoring type because Dict[str, str] satisfies Dict[str, str | ...] but mypy does not understand
472-
return subject_context.numeric_attributes | subject_context.categorical_attributes # type: ignore
472+
return {**subject_context.numeric_attributes, **subject_context.categorical_attributes} # type: ignore
473473

474474

475475
def convert_attributes_to_context_attributes(

eppo_client/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Note to developers: When ready to bump to 4.0, please change
22
# the `POLL_INTERVAL_SECONDS` constant in `eppo_client/constants.py`
33
# to 30 seconds to match the behavior of the other server SDKs.
4-
__version__ = "3.5.2"
4+
__version__ = "3.5.3"

0 commit comments

Comments
 (0)