call_or_await
fast_depends.utils.run_async async
#
run_async(
func: Union[Callable[P, T], Callable[P, Awaitable[T]]],
*args: P.args,
**kwargs: P.kwargs
) -> T
Source code in fast_depends/utils.py
Last update: 2023-11-13