From 4922875fe076c6a59a96e34e0ca6f8216b22f97e Mon Sep 17 00:00:00 2001 From: Matt Miller Date: Wed, 20 May 2026 11:00:29 -0700 Subject: [PATCH] docs(assets): trim docstring to what enrichment does, not what it doesn't --- comfy_execution/asset_enrichment.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/comfy_execution/asset_enrichment.py b/comfy_execution/asset_enrichment.py index 1b45fd6c4..3a050a7bf 100644 --- a/comfy_execution/asset_enrichment.py +++ b/comfy_execution/asset_enrichment.py @@ -4,12 +4,7 @@ import os def enrich_output_with_assets(output_ui: dict) -> dict: - """Inject asset id into file-type output entries when --enable-assets is set. - - Only ``id`` is added — the WebSocket payload carries just enough for the - client to fetch the full asset via GET /api/assets/{id}. hash, name, - preview_url, and size are intentionally omitted: hash is already encoded - in the filename; the rest require an explicit API call. + """Inject asset ``id`` into file-type output entries when --enable-assets is set. Returns a new dict; entries without a resolvable on-disk file path are left unchanged. Errors are caught per-entry so a failure never blocks the WS