From b3db3e7087811d8a94c8e4173f2d625ccf09ab56 Mon Sep 17 00:00:00 2001 From: Simon Piechutowski <106471045+Zimzozaur@users.noreply.github.com> Date: Sat, 30 Nov 2024 09:11:04 +0100 Subject: [PATCH] Update di.py --- litestar/di.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litestar/di.py b/litestar/di.py index 52a9adb3a1..b47f13478f 100644 --- a/litestar/di.py +++ b/litestar/di.py @@ -54,7 +54,7 @@ def __init__( sync_to_thread: Run sync code in an async thread. Defaults to False. """ if not callable(dependency): - raise ImproperlyConfiguredException("Provider dependency must a callable value") + raise ImproperlyConfiguredException("Provider dependency must be a callable value") is_class_dependency = isclass(dependency) self.has_sync_generator_dependency = isgeneratorfunction(