-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Improve caching logic and add disk caching option #3246
Conversation
…t.toml for improved caching functionality
… clarity and maintainability
… disk for enhanced type safety and clarity
…dling in Vertex class
…airs for better readability and maintainability
…roperly handle exceptions and cache updates more reliably
Pull Request Validation ReportThis comment is automatically generated by Conventional PR Whitelist Report
Result Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated. Validation Report
Result Pull request satisfies all enabled pull request rules. Last Modified at 08 Aug 24 18:03 UTC |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
…ory during cleanup process
…f vertex results in caching logic
…n-memory cache until frontend handling is implemented
This pull request includes several commits that improve the caching logic in the codebase. The
Graph
class now handles exceptions and cache updates more reliably. TheResultData
class has been updated to use key-value pairs in theoutputs
dictionary for better readability. Theget_requester_result
method in theVertex
class now usesasync await
for proper asynchronous handling. Additionally, thecache_type
setting has been restricted to specific literals for enhanced type safety and clarity. The pull request also introduces a newAsyncDiskCache
class and adds thediskcache
package version 5.6.3 to the project dependencies for improved disk-based caching functionality.