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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Cache: Support for synchronous functions in the @cached decorator. The decorated function becomes asynchronous and must be awaited by the caller, allowing cache reuse for both async and sync business logic.
Template: Integrated cache support into the standard-3tier project template, including optional dependency, configuration, initialization in main.py, and README usage notes.
Tests: Test cases for sync function support in the @cached decorator.
Changed
Docs: Cache API docs clarify that @cached supports both async and sync functions; add usage examples and note that caller must always await.