You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adjustments for use_async and determining whether the app can be use as async. Added more defined error messages when libraries are missing or async was used without async turned on.
"You are trying to use dash[async] without having installed the requirements please install via: `pip install dash[async]`"
463
+
)
464
+
449
465
_validate.check_obsolete(obsolete)
450
466
451
467
caller_name=Noneifnameelseget_caller_name()
@@ -1539,6 +1555,11 @@ def dispatch(self):
1539
1555
1540
1556
response_data=ctx.run(partial_func)
1541
1557
1558
+
ifasyncio.iscoroutine(response_data):
1559
+
raiseException(
1560
+
"You are trying to use a coroutine without dash[async], please install the dependencies via `pip install dash[async]` and make sure you arent passing `use_async=False` to the app."
0 commit comments