fastapi-cache
fastapi-cache copied to clipboard
bugfix: type hint @cache for non-awaitable functions
@cache's type hint allowed only awaitables, although the implementation supported both. This commit allows both awaitables and non-awaitables for @cache's type hint.