mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-07 22:30:00 +00:00
style: align documentation with codebase conventions
Strip verbose docstrings and section banners to match existing minimal documentation style used throughout the codebase. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -118,25 +118,6 @@ class Types:
|
||||
|
||||
|
||||
class Caching:
|
||||
"""
|
||||
External cache provider API.
|
||||
|
||||
Enables sharing cached results across multiple ComfyUI instances.
|
||||
|
||||
Example usage:
|
||||
from comfy_api.latest import Caching
|
||||
|
||||
class MyCacheProvider(Caching.CacheProvider):
|
||||
async def on_lookup(self, context):
|
||||
# Check external storage for cached result
|
||||
...
|
||||
|
||||
async def on_store(self, context, value):
|
||||
# Store result to external storage
|
||||
...
|
||||
|
||||
Caching.register_provider(MyCacheProvider())
|
||||
"""
|
||||
# Import from comfy_execution.cache_provider (source of truth)
|
||||
from comfy_execution.cache_provider import (
|
||||
CacheProvider,
|
||||
|
||||
Reference in New Issue
Block a user