File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 3535from UnleashClient .core import UnleashClientContract
3636from UnleashClient .core .client import (
3737 Evaluator ,
38- RunState ,
3938 ExperimentalMode ,
39+ RunState ,
4040 build_ready_callback ,
4141)
4242from UnleashClient .events import BaseEvent
Original file line number Diff line number Diff line change 1+ import uuid
12from collections .abc import Callable
23from dataclasses import asdict
4+ from datetime import datetime , timezone
35from enum import IntEnum
46from typing import Any , Dict , Optional
5- import uuid
7+
68from typing_extensions import Literal
7- from datetime import datetime , timezone
89
910from UnleashClient .events import (
1011 BaseEvent ,
Original file line number Diff line number Diff line change @@ -1293,7 +1293,9 @@ def test_existing_properties_are_retained_when_custom_context_properties_are_in_
12931293 context = {"myContext" : "1234" , "properties" : {"yourContext" : "1234" }}
12941294
12951295 assert "myContext" in unleash_client ._evaluator ._safe_context (context )["properties" ]
1296- assert "yourContext" in unleash_client ._evaluator ._safe_context (context )["properties" ]
1296+ assert (
1297+ "yourContext" in unleash_client ._evaluator ._safe_context (context )["properties" ]
1298+ )
12971299 unleash_client .destroy ()
12981300
12991301
You can’t perform that action at this time.
0 commit comments