Skip to content

Commit bcd5bdd

Browse files
committed
fix: Import error_reason from evaluator_common
On main, error_reason is no longer re-exported from async_evaluator; import it from its canonical home, matching how the sync client sources it via evaluator.
1 parent 3e9be62 commit bcd5bdd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ldclient/async_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@
2121
from ldclient.impl import AnyNum
2222
from ldclient.impl.aio.concurrency import AsyncEvent
2323
from ldclient.impl.async_big_segments import AsyncBigSegmentStoreManager
24-
from ldclient.impl.async_evaluator import AsyncEvaluator, error_reason
24+
from ldclient.impl.async_evaluator import AsyncEvaluator
2525
from ldclient.impl.async_flag_tracker import AsyncFlagTrackerImpl
2626
from ldclient.impl.client_common import (
2727
get_environment_metadata,
2828
get_plugin_hooks
2929
)
3030
from ldclient.impl.client_common import secure_mode_hash as _secure_mode_hash
3131
from ldclient.impl.datasystem import AsyncDataSystem, DataAvailability
32+
from ldclient.impl.evaluator_common import error_reason
3233
from ldclient.impl.events.async_event_processor import (
3334
DefaultAsyncEventProcessor
3435
)

0 commit comments

Comments
 (0)