1308 lines
85 KiB
JSON
1308 lines
85 KiB
JSON
{
|
|
"nodes.py:SaveImage": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "nodes.py",
|
|
"git_blob_sha1": "c0dd5563fa932f30bdbaff82783c1cfb3124be5b",
|
|
"bytes": 109521,
|
|
"sha256": "8c5a0239a4d3b9709085348a96d25184d28fa2267c2421b7f354614c03f3139c",
|
|
"request_key": "text-0",
|
|
"retrieved_at_utc": "2026-11-03T03:27:19.130600+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/nodes.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"snapshot": {
|
|
"relative_path": "nodes.py",
|
|
"recorded_at_utc": "2026-11-03T02:24:37.651321+00:00",
|
|
"state": "read",
|
|
"bytes": 109521,
|
|
"sha256": "8c5a0239a4d3b9709085348a96d25184d28fa2267c2421b7f354614c03f3139c",
|
|
"git_blob_sha1": "c0dd5563fa932f30bdbaff82783c1cfb3124be5b",
|
|
"unchanged_during_read": true,
|
|
"head_object_query": {
|
|
"command": [
|
|
"rev-parse",
|
|
"--verify",
|
|
"HEAD:nodes.py"
|
|
],
|
|
"exit_code": 0,
|
|
"stdout": "c0dd5563fa932f30bdbaff82783c1cfb3124be5b",
|
|
"stderr": ""
|
|
},
|
|
"matches_head_blob": true
|
|
},
|
|
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
|
|
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
|
|
"historical_installation_bytes": true
|
|
},
|
|
"lines": [
|
|
1669,
|
|
1728
|
|
],
|
|
"text": "class SaveImage:\n def __init__(self):\n self.output_dir = folder_paths.get_output_directory()\n self.type = \"output\"\n self.prefix_append = \"\"\n self.compress_level = 4\n\n @classmethod\n def INPUT_TYPES(s):\n return {\n \"required\": {\n \"images\": (\"IMAGE\", {\"tooltip\": \"The images to save.\"}),\n \"filename_prefix\": (\"STRING\", {\n \"default\": \"ComfyUI\",\n \"tooltip\": \"The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes.\"\n })\n },\n \"hidden\": {\n \"prompt\": \"PROMPT\", \"extra_pnginfo\": \"EXTRA_PNGINFO\"\n },\n }\n\n RETURN_TYPES = (\"IMAGE\",)\n RETURN_NAMES = (\"images\",)\n FUNCTION = \"save_images\"\n\n OUTPUT_NODE = True\n\n CATEGORY = \"image\"\n ESSENTIALS_CATEGORY = \"Basics\"\n DESCRIPTION = \"Saves the input images to your ComfyUI output directory.\"\n SEARCH_ALIASES = [\"save\", \"save image\", \"export image\", \"output image\", \"write image\", \"download\"]\n\n def save_images(self, images, filename_prefix=\"ComfyUI\", prompt=None, extra_pnginfo=None):\n filename_prefix += self.prefix_append\n full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir, images[0].shape[1], images[0].shape[0])\n results = list()\n for (batch_number, image) in enumerate(images):\n i = 255. * image.cpu().numpy()\n img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8))\n metadata = None\n if not args.disable_metadata:\n metadata = PngInfo()\n if prompt is not None:\n metadata.add_text(\"prompt\", json.dumps(prompt))\n if extra_pnginfo is not None:\n for x in extra_pnginfo:\n metadata.add_text(x, json.dumps(extra_pnginfo[x]))\n\n filename_with_batch_num = filename.replace(\"%batch_num%\", str(batch_number))\n file = f\"{filename_with_batch_num}_{counter:05}_.png\"\n img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level)\n results.append({\n \"filename\": file,\n \"subfolder\": subfolder,\n \"type\": self.type\n })\n counter += 1\n\n return { \"ui\": { \"images\": results }, \"result\" : (images,) }\n",
|
|
"sha256": "2bb399fef0ffb8df08fdcd72a4a70d3acd1ee14e9049f28d3f5adb59752c1ce3",
|
|
"evidence_kind": "declaration AST/text only"
|
|
},
|
|
"nodes.py:PreviewImage": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "nodes.py",
|
|
"git_blob_sha1": "c0dd5563fa932f30bdbaff82783c1cfb3124be5b",
|
|
"bytes": 109521,
|
|
"sha256": "8c5a0239a4d3b9709085348a96d25184d28fa2267c2421b7f354614c03f3139c",
|
|
"request_key": "text-0",
|
|
"retrieved_at_utc": "2026-11-03T03:27:19.130600+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/nodes.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"snapshot": {
|
|
"relative_path": "nodes.py",
|
|
"recorded_at_utc": "2026-11-03T02:24:37.651321+00:00",
|
|
"state": "read",
|
|
"bytes": 109521,
|
|
"sha256": "8c5a0239a4d3b9709085348a96d25184d28fa2267c2421b7f354614c03f3139c",
|
|
"git_blob_sha1": "c0dd5563fa932f30bdbaff82783c1cfb3124be5b",
|
|
"unchanged_during_read": true,
|
|
"head_object_query": {
|
|
"command": [
|
|
"rev-parse",
|
|
"--verify",
|
|
"HEAD:nodes.py"
|
|
],
|
|
"exit_code": 0,
|
|
"stdout": "c0dd5563fa932f30bdbaff82783c1cfb3124be5b",
|
|
"stderr": ""
|
|
},
|
|
"matches_head_blob": true
|
|
},
|
|
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
|
|
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
|
|
"historical_installation_bytes": true
|
|
},
|
|
"lines": [
|
|
1730,
|
|
1745
|
|
],
|
|
"text": "class PreviewImage(SaveImage):\n def __init__(self):\n self.output_dir = folder_paths.get_temp_directory()\n self.type = \"temp\"\n self.prefix_append = \"_temp_\" + ''.join(random.choice(\"abcdefghijklmnopqrstupvxyz\") for x in range(5))\n self.compress_level = 1\n\n SEARCH_ALIASES = [\"preview\", \"preview image\", \"show image\", \"view image\", \"display image\", \"image viewer\"]\n DESCRIPTION = \"Preview the images without saving them to the ComfyUI output directory.\"\n\n @classmethod\n def INPUT_TYPES(s):\n return {\"required\":\n {\"images\": (\"IMAGE\", ), },\n \"hidden\": {\"prompt\": \"PROMPT\", \"extra_pnginfo\": \"EXTRA_PNGINFO\"},\n }\n",
|
|
"sha256": "58b223bf6643c14070e2ef7920bb474fc5d59084e68b6751d0a78e2fdbfa4063",
|
|
"evidence_kind": "declaration AST/text only"
|
|
},
|
|
"nodes.py:LoadImage": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "nodes.py",
|
|
"git_blob_sha1": "c0dd5563fa932f30bdbaff82783c1cfb3124be5b",
|
|
"bytes": 109521,
|
|
"sha256": "8c5a0239a4d3b9709085348a96d25184d28fa2267c2421b7f354614c03f3139c",
|
|
"request_key": "text-0",
|
|
"retrieved_at_utc": "2026-11-03T03:27:19.130600+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/nodes.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"snapshot": {
|
|
"relative_path": "nodes.py",
|
|
"recorded_at_utc": "2026-11-03T02:24:37.651321+00:00",
|
|
"state": "read",
|
|
"bytes": 109521,
|
|
"sha256": "8c5a0239a4d3b9709085348a96d25184d28fa2267c2421b7f354614c03f3139c",
|
|
"git_blob_sha1": "c0dd5563fa932f30bdbaff82783c1cfb3124be5b",
|
|
"unchanged_during_read": true,
|
|
"head_object_query": {
|
|
"command": [
|
|
"rev-parse",
|
|
"--verify",
|
|
"HEAD:nodes.py"
|
|
],
|
|
"exit_code": 0,
|
|
"stdout": "c0dd5563fa932f30bdbaff82783c1cfb3124be5b",
|
|
"stderr": ""
|
|
},
|
|
"matches_head_blob": true
|
|
},
|
|
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
|
|
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
|
|
"historical_installation_bytes": true
|
|
},
|
|
"lines": [
|
|
1747,
|
|
1821
|
|
],
|
|
"text": "class LoadImage:\n @classmethod\n def INPUT_TYPES(s):\n input_dir = folder_paths.get_input_directory()\n files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f))]\n files = folder_paths.filter_files_content_types(files, [\"image\"])\n return {\"required\":\n {\"image\": (sorted(files), {\"image_upload\": True})},\n }\n\n CATEGORY = \"image\"\n ESSENTIALS_CATEGORY = \"Basics\"\n SEARCH_ALIASES = [\"load image\", \"open image\", \"import image\", \"image input\", \"upload image\", \"read image\", \"image loader\"]\n\n RETURN_TYPES = (\"IMAGE\", \"MASK\")\n FUNCTION = \"load_image\"\n\n def load_image(self, image):\n image_path = folder_paths.get_annotated_filepath(image)\n\n dtype = comfy.model_management.intermediate_dtype()\n device = comfy.model_management.intermediate_device()\n\n components = InputImpl.VideoFromFile(image_path).get_components()\n if components.images.shape[0] > 0:\n return (components.images.to(device=device, dtype=dtype), (1.0 - components.alpha[..., -1]).to(device=device, dtype=dtype) if components.alpha is not None else torch.zeros((components.images.shape[0], 64, 64), dtype=dtype, device=device))\n\n # This code is left here to handle animated webp which pyav does not support loading\n img = node_helpers.pillow(Image.open, image_path)\n\n output_images = []\n output_masks = []\n w, h = None, None\n\n for i in ImageSequence.Iterator(img):\n i = node_helpers.pillow(ImageOps.exif_transpose, i)\n\n image = i.convert(\"RGB\")\n\n if len(output_images) == 0:\n w = image.size[0]\n h = image.size[1]\n\n if image.size[0] != w or image.size[1] != h:\n continue\n\n image = np.array(image).astype(np.float32) / 255.0\n image = torch.from_numpy(image)[None,]\n if 'A' in i.getbands():\n mask = np.array(i.getchannel('A')).astype(np.float32) / 255.0\n mask = 1. - torch.from_numpy(mask)\n else:\n mask = torch.zeros((64, 64), dtype=torch.float32, device=\"cpu\")\n output_images.append(image.to(dtype=dtype))\n output_masks.append(mask.unsqueeze(0).to(dtype=dtype))\n\n output_image = torch.cat(output_images, dim=0)\n output_mask = torch.cat(output_masks, dim=0)\n\n return (output_image.to(device=device, dtype=dtype), output_mask.to(device=device, dtype=dtype))\n\n @classmethod\n def IS_CHANGED(s, image):\n image_path = folder_paths.get_annotated_filepath(image)\n m = hashlib.sha256()\n with open(image_path, 'rb') as f:\n m.update(f.read())\n return m.digest().hex()\n\n @classmethod\n def VALIDATE_INPUTS(s, image):\n if not folder_paths.exists_annotated_filepath(image):\n return \"Invalid image file: {}\".format(image)\n\n return True\n",
|
|
"sha256": "bac9937ae6aacc5fb859bbd52cf40760f3f3aba135b6e6798f20746bc7c4ce49",
|
|
"evidence_kind": "declaration AST/text only"
|
|
},
|
|
"comfy_extras/nodes_canny.py:Canny": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_extras/nodes_canny.py",
|
|
"git_blob_sha1": "a0205f52dc5ab22eaa44730565c3975ed76d1d83",
|
|
"bytes": 1735,
|
|
"sha256": "a08dbf4b1690042adfadf4b6ea0b183064c2a7bb4982d6576aa5f23a16d762ce",
|
|
"request_key": "text-1",
|
|
"retrieved_at_utc": "2026-11-03T03:27:20.832844+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_extras__nodes_canny.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"snapshot": {
|
|
"relative_path": "comfy_extras/nodes_canny.py",
|
|
"recorded_at_utc": "2026-11-03T02:24:37.652835+00:00",
|
|
"state": "read",
|
|
"bytes": 1735,
|
|
"sha256": "a08dbf4b1690042adfadf4b6ea0b183064c2a7bb4982d6576aa5f23a16d762ce",
|
|
"git_blob_sha1": "a0205f52dc5ab22eaa44730565c3975ed76d1d83",
|
|
"unchanged_during_read": true,
|
|
"head_object_query": {
|
|
"command": [
|
|
"rev-parse",
|
|
"--verify",
|
|
"HEAD:comfy_extras/nodes_canny.py"
|
|
],
|
|
"exit_code": 0,
|
|
"stdout": "a0205f52dc5ab22eaa44730565c3975ed76d1d83",
|
|
"stderr": ""
|
|
},
|
|
"matches_head_blob": true
|
|
},
|
|
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
|
|
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
|
|
"historical_installation_bytes": true
|
|
},
|
|
"lines": [
|
|
9,
|
|
35
|
|
],
|
|
"text": "class Canny(io.ComfyNode):\n @classmethod\n def define_schema(cls):\n return io.Schema(\n node_id=\"Canny\",\n display_name=\"Detect Edges (Canny)\",\n search_aliases=[\"edge detection\", \"outline\", \"contour detection\", \"line art\"],\n category=\"image/filters\",\n essentials_category=\"Image Tools\",\n inputs=[\n io.Image.Input(\"image\"),\n io.Float.Input(\"low_threshold\", default=0.4, min=0.01, max=0.99, step=0.01),\n io.Float.Input(\"high_threshold\", default=0.8, min=0.01, max=0.99, step=0.01),\n ],\n outputs=[io.Image.Output()],\n )\n\n @classmethod\n def detect_edge(cls, image, low_threshold, high_threshold):\n # Deprecated: use the V3 schema's `execute` method instead of this.\n return cls.execute(image, low_threshold, high_threshold)\n\n @classmethod\n def execute(cls, image, low_threshold, high_threshold) -> io.NodeOutput:\n output = canny(image[..., :3].to(device=comfy.model_management.get_torch_device(), dtype=torch.float32).movedim(-1, 1), low_threshold, high_threshold)\n img_out = output[1].to(device=comfy.model_management.intermediate_device(), dtype=comfy.model_management.intermediate_dtype()).repeat(1, 3, 1, 1).movedim(1, -1)\n return io.NodeOutput(img_out)\n",
|
|
"sha256": "aaa936a1953cf02f8fada3aa56894daa29bfcfc5a37041daa5dcc23a0f27128a",
|
|
"evidence_kind": "declaration AST/text only"
|
|
},
|
|
"comfy_extras/nodes_images.py:ImageStitch": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_extras/nodes_images.py",
|
|
"git_blob_sha1": "4628d6609229874cd218eb6052393518a0f0fe3c",
|
|
"bytes": 83097,
|
|
"sha256": "2d8f564e7b263de488d2f26cab2ba310a335d0cf7d23410d6f6a2e4eb54d26fc",
|
|
"request_key": "text-2",
|
|
"retrieved_at_utc": "2026-11-03T03:27:22.799903+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_extras__nodes_images.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"snapshot": {
|
|
"relative_path": "comfy_extras/nodes_images.py",
|
|
"recorded_at_utc": "2026-11-03T02:24:37.654279+00:00",
|
|
"state": "read",
|
|
"bytes": 83097,
|
|
"sha256": "2d8f564e7b263de488d2f26cab2ba310a335d0cf7d23410d6f6a2e4eb54d26fc",
|
|
"git_blob_sha1": "4628d6609229874cd218eb6052393518a0f0fe3c",
|
|
"unchanged_during_read": true,
|
|
"head_object_query": {
|
|
"command": [
|
|
"rev-parse",
|
|
"--verify",
|
|
"HEAD:comfy_extras/nodes_images.py"
|
|
],
|
|
"exit_code": 0,
|
|
"stdout": "4628d6609229874cd218eb6052393518a0f0fe3c",
|
|
"stderr": ""
|
|
},
|
|
"matches_head_blob": true
|
|
},
|
|
"snapshot_file": "docs/hel-892/batch179-target-snapshots/incoming/ssh-snapshot.stdout.json",
|
|
"snapshot_sha256": "420ef2451c70d3166c7d178f3b33a6273d0ca21a30e28c7198f5d98530703215",
|
|
"historical_installation_bytes": true
|
|
},
|
|
"lines": [
|
|
418,
|
|
591
|
|
],
|
|
"text": "class ImageStitch(IO.ComfyNode):\n \"\"\"Upstreamed from https://github.com/kijai/ComfyUI-KJNodes\"\"\"\n @classmethod\n def define_schema(cls):\n return IO.Schema(\n node_id=\"ImageStitch\",\n search_aliases=[\"combine images\", \"join images\", \"concatenate images\", \"side by side\"],\n display_name=\"Stitch Images\",\n description=\"Stitches image2 to image1 in the specified direction.\\n\"\n \"If image2 is not provided, returns image1 unchanged.\\n\"\n \"Optional spacing can be added between images.\",\n category=\"image/transform\",\n inputs=[\n IO.Image.Input(\"image1\"),\n IO.Combo.Input(\"direction\", options=[\"right\", \"down\", \"left\", \"up\"], default=\"right\"),\n IO.Boolean.Input(\"match_image_size\", default=True),\n IO.Int.Input(\"spacing_width\", default=0, min=0, max=1024, step=2, advanced=True),\n IO.Combo.Input(\"spacing_color\", options=[\"white\", \"black\", \"red\", \"green\", \"blue\"], default=\"white\", advanced=True),\n IO.Image.Input(\"image2\", optional=True),\n ],\n outputs=[IO.Image.Output()],\n )\n\n @classmethod\n def execute(\n cls,\n image1,\n direction,\n match_image_size,\n spacing_width,\n spacing_color,\n image2=None,\n ) -> IO.NodeOutput:\n if image2 is None:\n return IO.NodeOutput(image1)\n\n # Handle batch size differences\n if image1.shape[0] != image2.shape[0]:\n max_batch = max(image1.shape[0], image2.shape[0])\n if image1.shape[0] < max_batch:\n image1 = torch.cat(\n [image1, image1[-1:].repeat(max_batch - image1.shape[0], 1, 1, 1)]\n )\n if image2.shape[0] < max_batch:\n image2 = torch.cat(\n [image2, image2[-1:].repeat(max_batch - image2.shape[0], 1, 1, 1)]\n )\n\n # Match image sizes if requested\n if match_image_size:\n h1, w1 = image1.shape[1:3]\n h2, w2 = image2.shape[1:3]\n aspect_ratio = w2 / h2\n\n if direction in [\"left\", \"right\"]:\n target_h, target_w = h1, int(h1 * aspect_ratio)\n else: # up, down\n target_w, target_h = w1, int(w1 / aspect_ratio)\n\n image2 = comfy.utils.common_upscale(\n image2.movedim(-1, 1), target_w, target_h, \"lanczos\", \"disabled\"\n ).movedim(1, -1)\n\n color_map = {\n \"white\": 1.0,\n \"black\": 0.0,\n \"red\": (1.0, 0.0, 0.0),\n \"green\": (0.0, 1.0, 0.0),\n \"blue\": (0.0, 0.0, 1.0),\n }\n\n color_val = color_map[spacing_color]\n\n # When not matching sizes, pad to align non-concat dimensions\n if not match_image_size:\n h1, w1 = image1.shape[1:3]\n h2, w2 = image2.shape[1:3]\n pad_value = 0.0\n if not isinstance(color_val, tuple):\n pad_value = color_val\n\n if direction in [\"left\", \"right\"]:\n # For horizontal concat, pad heights to match\n if h1 != h2:\n target_h = max(h1, h2)\n if h1 < target_h:\n pad_h = target_h - h1\n pad_top, pad_bottom = pad_h // 2, pad_h - pad_h // 2\n image1 = torch.nn.functional.pad(image1, (0, 0, 0, 0, pad_top, pad_bottom), mode='constant', value=pad_value)\n if h2 < target_h:\n pad_h = target_h - h2\n pad_top, pad_bottom = pad_h // 2, pad_h - pad_h // 2\n image2 = torch.nn.functional.pad(image2, (0, 0, 0, 0, pad_top, pad_bottom), mode='constant', value=pad_value)\n else: # up, down\n # For vertical concat, pad widths to match\n if w1 != w2:\n target_w = max(w1, w2)\n if w1 < target_w:\n pad_w = target_w - w1\n pad_left, pad_right = pad_w // 2, pad_w - pad_w // 2\n image1 = torch.nn.functional.pad(image1, (0, 0, pad_left, pad_right), mode='constant', value=pad_value)\n if w2 < target_w:\n pad_w = target_w - w2\n pad_left, pad_right = pad_w // 2, pad_w - pad_w // 2\n image2 = torch.nn.functional.pad(image2, (0, 0, pad_left, pad_right), mode='constant', value=pad_value)\n\n # Ensure same number of channels\n if image1.shape[-1] != image2.shape[-1]:\n max_channels = max(image1.shape[-1], image2.shape[-1])\n if image1.shape[-1] < max_channels:\n image1 = torch.cat(\n [\n image1,\n torch.ones(\n *image1.shape[:-1],\n max_channels - image1.shape[-1],\n device=image1.device,\n ),\n ],\n dim=-1,\n )\n if image2.shape[-1] < max_channels:\n image2 = torch.cat(\n [\n image2,\n torch.ones(\n *image2.shape[:-1],\n max_channels - image2.shape[-1],\n device=image2.device,\n ),\n ],\n dim=-1,\n )\n\n # Add spacing if specified\n if spacing_width > 0:\n spacing_width = spacing_width + (spacing_width % 2) # Ensure even\n\n if direction in [\"left\", \"right\"]:\n spacing_shape = (\n image1.shape[0],\n max(image1.shape[1], image2.shape[1]),\n spacing_width,\n image1.shape[-1],\n )\n else:\n spacing_shape = (\n image1.shape[0],\n spacing_width,\n max(image1.shape[2], image2.shape[2]),\n image1.shape[-1],\n )\n\n spacing = torch.full(spacing_shape, 0.0, device=image1.device)\n if isinstance(color_val, tuple):\n for i, c in enumerate(color_val):\n if i < spacing.shape[-1]:\n spacing[..., i] = c\n if spacing.shape[-1] == 4: # Add alpha\n spacing[..., 3] = 1.0\n else:\n spacing[..., : min(3, spacing.shape[-1])] = color_val\n if spacing.shape[-1] == 4:\n spacing[..., 3] = 1.0\n\n # Concatenate images\n images = [image2, image1] if direction in [\"left\", \"up\"] else [image1, image2]\n if spacing_width > 0:\n images.insert(1, spacing)\n\n concat_dim = 2 if direction in [\"left\", \"right\"] else 1\n return IO.NodeOutput(torch.cat(images, dim=concat_dim))\n\n stitch = execute # TODO: remove\n",
|
|
"sha256": "9ff684519540c5dbdb21baaad54182da02693d943df3d03752104a27bfbc5277",
|
|
"evidence_kind": "declaration AST/text only"
|
|
},
|
|
"server.py:node_info:817": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "server.py",
|
|
"git_blob_sha1": "ca0399df267a3fcb20ec661fbbf46fbe28d712dc",
|
|
"bytes": 68474,
|
|
"sha256": "8ee5389b439d4676c59b208d43099d573dadfbee1f2c3740311ed7213832d3f5",
|
|
"request_key": "text-3",
|
|
"retrieved_at_utc": "2026-11-03T03:27:24.175522+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/server.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
817,
|
|
864
|
|
],
|
|
"text": " def node_info(node_class):\n obj_class = nodes.NODE_CLASS_MAPPINGS[node_class]\n if issubclass(obj_class, _ComfyNodeInternal):\n return obj_class.GET_NODE_INFO_V1()\n info = {}\n info['input'] = obj_class.INPUT_TYPES()\n info['input_order'] = {key: list(value.keys()) for (key, value) in obj_class.INPUT_TYPES().items()}\n info['is_input_list'] = getattr(obj_class, \"INPUT_IS_LIST\", False)\n info['output'] = obj_class.RETURN_TYPES\n info['output_is_list'] = obj_class.OUTPUT_IS_LIST if hasattr(obj_class, 'OUTPUT_IS_LIST') else [False] * len(obj_class.RETURN_TYPES)\n info['output_name'] = obj_class.RETURN_NAMES if hasattr(obj_class, 'RETURN_NAMES') else info['output']\n info['name'] = node_class\n info['display_name'] = nodes.NODE_DISPLAY_NAME_MAPPINGS[node_class] if node_class in nodes.NODE_DISPLAY_NAME_MAPPINGS.keys() else node_class\n info['description'] = obj_class.DESCRIPTION if hasattr(obj_class,'DESCRIPTION') else ''\n info['python_module'] = getattr(obj_class, \"RELATIVE_PYTHON_MODULE\", \"nodes\")\n info['category'] = 'sd'\n if hasattr(obj_class, 'OUTPUT_NODE') and obj_class.OUTPUT_NODE == True:\n info['output_node'] = True\n else:\n info['output_node'] = False\n\n if hasattr(obj_class, 'HAS_INTERMEDIATE_OUTPUT') and obj_class.HAS_INTERMEDIATE_OUTPUT == True:\n info['has_intermediate_output'] = True\n else:\n info['has_intermediate_output'] = False\n\n if hasattr(obj_class, 'CATEGORY'):\n info['category'] = obj_class.CATEGORY\n\n if hasattr(obj_class, 'OUTPUT_TOOLTIPS'):\n info['output_tooltips'] = obj_class.OUTPUT_TOOLTIPS\n\n if getattr(obj_class, \"DEPRECATED\", False):\n info['deprecated'] = True\n if getattr(obj_class, \"EXPERIMENTAL\", False):\n info['experimental'] = True\n if getattr(obj_class, \"DEV_ONLY\", False):\n info['dev_only'] = True\n\n if hasattr(obj_class, 'API_NODE'):\n info['api_node'] = obj_class.API_NODE\n\n info['search_aliases'] = getattr(obj_class, 'SEARCH_ALIASES', [])\n\n if hasattr(obj_class, 'ESSENTIALS_CATEGORY'):\n info['essentials_category'] = obj_class.ESSENTIALS_CATEGORY\n\n return info\n",
|
|
"sha256": "6a0be05c7c84df96677e003cdc10bc810e30e038ed2bd5235a590de100c5e659",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"server.py:get_object_info:867": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "server.py",
|
|
"git_blob_sha1": "ca0399df267a3fcb20ec661fbbf46fbe28d712dc",
|
|
"bytes": 68474,
|
|
"sha256": "8ee5389b439d4676c59b208d43099d573dadfbee1f2c3740311ed7213832d3f5",
|
|
"request_key": "text-3",
|
|
"retrieved_at_utc": "2026-11-03T03:27:24.175522+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/server.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
867,
|
|
877
|
|
],
|
|
"text": " async def get_object_info(request):\n self.asset_manager.ensure_scan_started()\n with folder_paths.cache_helper:\n out = {}\n for x in nodes.NODE_CLASS_MAPPINGS:\n try:\n out[x] = node_info(x)\n except Exception:\n logging.error(f\"[ERROR] An error occurred while retrieving information for the '{x}' node.\")\n logging.error(traceback.format_exc())\n return web.json_response(out)\n",
|
|
"sha256": "3f0158f6d0ada4327e0c59d1849edcde8efcbbc765464a2c8ddc73b97d66fe6a",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"server.py:get_object_info_node:880": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "server.py",
|
|
"git_blob_sha1": "ca0399df267a3fcb20ec661fbbf46fbe28d712dc",
|
|
"bytes": 68474,
|
|
"sha256": "8ee5389b439d4676c59b208d43099d573dadfbee1f2c3740311ed7213832d3f5",
|
|
"request_key": "text-3",
|
|
"retrieved_at_utc": "2026-11-03T03:27:24.175522+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/server.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
880,
|
|
885
|
|
],
|
|
"text": " async def get_object_info_node(request):\n node_class = request.match_info.get(\"node_class\", None)\n out = {}\n if (node_class is not None) and (node_class in nodes.NODE_CLASS_MAPPINGS):\n out[node_class] = node_info(node_class)\n return web.json_response(out)\n",
|
|
"sha256": "0eb680dbec99de8982fe74d027ca5a00bf1b5176296ee244f483a7052e5f09c1",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:create_input_dict_v1:2073": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
2073,
|
|
2082
|
|
],
|
|
"text": "def create_input_dict_v1(inputs: list[Input]) -> dict:\n input = {\n \"required\": {}\n }\n group_prefixes = tuple(_dynamic_group_prefixes(inputs))\n for i in inputs:\n if group_prefixes and i.id.startswith(group_prefixes):\n raise ValueError(f\"Input '{i.id}' conflicts with a DynamicGroup field prefix.\")\n add_to_dict_v1(i, input)\n return input\n",
|
|
"sha256": "c220e27f123e0f0d7e38a864e60e81e566f0babc3b1ed4ec6d0be7a3b6618238",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:63": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
63,
|
|
71
|
|
],
|
|
"text": " def as_dict(self):\n return prune_dict({\n \"route\": self.route,\n \"refresh_button\": self.refresh_button,\n \"control_after_refresh\": self.control_after_refresh,\n \"timeout\": self.timeout,\n \"max_retries\": self.max_retries,\n \"refresh\": self.refresh,\n })\n",
|
|
"sha256": "d3d7dc72e53e6c49791da48a1db8d75fe7549835259580caf753098d9fdae7d4",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:175": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
175,
|
|
183
|
|
],
|
|
"text": " def as_dict(self):\n return prune_dict({\n \"display_name\": self.display_name,\n \"optional\": self.optional,\n \"tooltip\": self.tooltip,\n \"lazy\": self.lazy,\n \"rawLink\": self.rawLink,\n \"advanced\": self.advanced,\n }) | prune_dict(self.extra_dict)\n",
|
|
"sha256": "d2519d67574485807d2b7948f16c0b087e48c58371b9846eb2dc5a469ef995f9",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:204": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
204,
|
|
210
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"default\": self.default,\n \"socketless\": self.socketless,\n \"widgetType\": self.widget_type,\n \"forceInput\": self.force_input,\n })\n",
|
|
"sha256": "57f76db9ded84b2636f71ea774aa4c74a8c4c8102911bf47f8eb8e05141af0fc",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:224": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
224,
|
|
230
|
|
],
|
|
"text": " def as_dict(self):\n display_name = self.display_name if self.display_name else self.id\n return prune_dict({\n \"display_name\": display_name,\n \"tooltip\": self.tooltip,\n \"is_output_list\": self.is_output_list,\n })\n",
|
|
"sha256": "3172030600178509d6cb99ec1e462e000418cee4879184c6b017ee28e15360c8",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1787": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1787,
|
|
1816
|
|
],
|
|
"text": " def as_dict(self, schema_inputs: list[\"Input\"]) -> dict[str, Any]:\n input_types: dict[str, str] = {}\n\n def collect_inputs(inputs: list[Input], prefix: str = \"\") -> None:\n for inp in inputs:\n name = prefix + inp.id\n input_types[name] = inp.get_io_type()\n if isinstance(inp, _DynamicGroup.Input):\n for row in range(inp.max):\n collect_inputs(inp.template, f\"{name}.{row}.\")\n else:\n collect_inputs(inp.get_all()[1:], name + \".\")\n\n collect_inputs(schema_inputs)\n\n # Enrich widgets with type information, raising error for unknown widgets\n widgets_data: list[dict[str, str]] = []\n for w in self.widgets:\n if w not in input_types:\n raise ValueError(\n f\"PriceBadge depends_on.widgets references unknown widget '{w}'. \"\n f\"Available widgets: {list(input_types.keys())}\"\n )\n widgets_data.append({\"name\": w, \"type\": input_types[w]})\n\n return {\n \"widgets\": widgets_data,\n \"inputs\": self.inputs,\n \"input_groups\": self.input_groups,\n }\n",
|
|
"sha256": "3bc406ef9d629d9d6f32fa624259bbeb52a0c42ee24b339b393ef6f103922b87",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1832": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1832,
|
|
1837
|
|
],
|
|
"text": " def as_dict(self, schema_inputs: list[\"Input\"]) -> dict[str, Any]:\n return {\n \"engine\": self.engine,\n \"depends_on\": self.depends_on.as_dict(schema_inputs),\n \"expr\": self.expr,\n }\n",
|
|
"sha256": "06fa3948d2b080a366fd2c97ad418d60d50ed107439c4b93e2bad18a7b2e4a66",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:finalize:1938": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1938,
|
|
1964
|
|
],
|
|
"text": " def finalize(self):\n \"\"\"Add hidden based on selected schema options, and give outputs without ids default ids.\"\"\"\n # ensure inputs, outputs, and hidden are lists\n if self.inputs is None:\n self.inputs = []\n if self.outputs is None:\n self.outputs = []\n if self.hidden is None:\n self.hidden = []\n # if is an api_node, will need key-related hidden\n if self.is_api_node:\n if Hidden.auth_token_comfy_org not in self.hidden:\n self.hidden.append(Hidden.auth_token_comfy_org)\n if Hidden.api_key_comfy_org not in self.hidden:\n self.hidden.append(Hidden.api_key_comfy_org)\n if Hidden.comfy_usage_source not in self.hidden:\n self.hidden.append(Hidden.comfy_usage_source)\n # if is an output_node, will need prompt and extra_pnginfo\n if self.is_output_node:\n if Hidden.prompt not in self.hidden:\n self.hidden.append(Hidden.prompt)\n if Hidden.extra_pnginfo not in self.hidden:\n self.hidden.append(Hidden.extra_pnginfo)\n # give outputs without ids default ids\n for i, output in enumerate(self.outputs):\n if output.id is None:\n output.id = f\"_{i}_{output.io_type}_\"\n",
|
|
"sha256": "efabcd03d60aec47eb0b87260c103f15267cb331bd1bbf0ba318e05f9e903fe1",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:get_v1_info:1966": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1966,
|
|
2020
|
|
],
|
|
"text": " def get_v1_info(self, cls) -> NodeInfoV1:\n # get V1 inputs\n input = create_input_dict_v1(self.inputs)\n if self.hidden:\n for hidden in self.hidden:\n input.setdefault(\"hidden\", {})[hidden.name] = (hidden.value,)\n # create separate lists from output fields\n output = []\n output_is_list = []\n output_name = []\n output_tooltips = []\n output_matchtypes = []\n any_matchtypes = False\n if self.outputs:\n for o in self.outputs:\n output.append(o.io_type)\n output_is_list.append(o.is_output_list)\n output_name.append(o.display_name if o.display_name else o.io_type)\n output_tooltips.append(o.tooltip if o.tooltip else None)\n # special handling for MatchType\n if isinstance(o, MatchType.Output):\n output_matchtypes.append(o.template.template_id)\n any_matchtypes = True\n else:\n output_matchtypes.append(None)\n\n # clear out lists that are all None\n if not any_matchtypes:\n output_matchtypes = None\n\n info = NodeInfoV1(\n input=input,\n input_order={key: list(value.keys()) for (key, value) in input.items()},\n is_input_list=self.is_input_list,\n output=output,\n output_is_list=output_is_list,\n output_name=output_name,\n output_tooltips=output_tooltips,\n output_matchtypes=output_matchtypes,\n name=self.node_id,\n display_name=self.display_name,\n category=self.category,\n description=self.description,\n output_node=self.is_output_node,\n has_intermediate_output=self.has_intermediate_output,\n deprecated=self.is_deprecated,\n experimental=self.is_experimental,\n dev_only=self.is_dev_only,\n api_node=self.is_api_node,\n python_module=getattr(cls, \"RELATIVE_PYTHON_MODULE\", \"nodes\"),\n price_badge=self.price_badge.as_dict(self.inputs) if self.price_badge is not None else None,\n search_aliases=self.search_aliases if self.search_aliases else None,\n essentials_category=self.essentials_category,\n )\n return info\n",
|
|
"sha256": "459759eab6a6f023d3088fc4dd92178f43057e8eefc53d2194d205537f95e01a",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:GET_NODE_INFO_V1:2270": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
2270,
|
|
2273
|
|
],
|
|
"text": " def GET_NODE_INFO_V1(cls) -> dict[str, Any]:\n schema = cls.GET_SCHEMA()\n info = schema.get_v1_info(cls)\n return asdict(info)\n",
|
|
"sha256": "abc104e2c7b3820a9f8481e27d49de9951113ec2614fd66685baad461657ee2f",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:INPUT_TYPES:2397": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
2397,
|
|
2400
|
|
],
|
|
"text": " def INPUT_TYPES(cls) -> dict[str, dict]:\n schema = cls.FINALIZE_SCHEMA()\n info = schema.get_v1_info(cls)\n return info.input\n",
|
|
"sha256": "fa42bde9f493181125ac34366c2f3885618ad63f3edc76a94974041b6902f3a9",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:FINALIZE_SCHEMA:2404": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
2404,
|
|
2408
|
|
],
|
|
"text": " def FINALIZE_SCHEMA(cls):\n \"\"\"Call define_schema and finalize it.\"\"\"\n schema = cls.define_schema()\n schema.finalize()\n return schema\n",
|
|
"sha256": "ee10bcd280b8a312397222e61ef2ea9e28a0f282cda3128592301efaa3edd819",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:GET_SCHEMA:2412": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
2412,
|
|
2457
|
|
],
|
|
"text": " def GET_SCHEMA(cls) -> Schema:\n \"\"\"Validate node class, finalize schema, validate schema, and set expected class properties.\"\"\"\n cls.VALIDATE_CLASS()\n schema = cls.FINALIZE_SCHEMA()\n schema.validate()\n if cls._DESCRIPTION is None:\n cls._DESCRIPTION = schema.description\n if cls._CATEGORY is None:\n cls._CATEGORY = schema.category\n if cls._EXPERIMENTAL is None:\n cls._EXPERIMENTAL = schema.is_experimental\n if cls._DEPRECATED is None:\n cls._DEPRECATED = schema.is_deprecated\n if cls._DEV_ONLY is None:\n cls._DEV_ONLY = schema.is_dev_only\n if cls._API_NODE is None:\n cls._API_NODE = schema.is_api_node\n if cls._OUTPUT_NODE is None:\n cls._OUTPUT_NODE = schema.is_output_node\n if cls._HAS_INTERMEDIATE_OUTPUT is None:\n cls._HAS_INTERMEDIATE_OUTPUT = schema.has_intermediate_output\n if cls._INPUT_IS_LIST is None:\n cls._INPUT_IS_LIST = schema.is_input_list\n if cls._NOT_IDEMPOTENT is None:\n cls._NOT_IDEMPOTENT = schema.not_idempotent\n if cls._ACCEPT_ALL_INPUTS is None:\n cls._ACCEPT_ALL_INPUTS = schema.accept_all_inputs\n\n if cls._RETURN_TYPES is None:\n output = []\n output_name = []\n output_is_list = []\n output_tooltips = []\n if schema.outputs:\n for o in schema.outputs:\n output.append(o.io_type)\n output_name.append(o.display_name if o.display_name else o.io_type)\n output_is_list.append(o.is_output_list)\n output_tooltips.append(o.tooltip if o.tooltip else None)\n\n cls._RETURN_TYPES = output\n cls._RETURN_NAMES = output_name\n cls._OUTPUT_IS_LIST = output_is_list\n cls._OUTPUT_TOOLTIPS = output_tooltips\n cls.SCHEMA = schema\n return schema\n",
|
|
"sha256": "11caf657d9b353adfc4308ba84bb704c1ae5516dd7cd2a6eb961a90e6b86be9f",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:2548": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
2548,
|
|
2549
|
|
],
|
|
"text": " def as_dict(self) -> dict:\n ...\n",
|
|
"sha256": "31129e4c65b2c8e5911ef329d896213f3ee1e81d215448f2d1beb5bd28887594",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:2603": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
2603,
|
|
2611
|
|
],
|
|
"text": " def as_dict(self):\n \"\"\"Create serializable representation of the node replacement.\"\"\"\n return {\n \"new_node_id\": self.new_node_id,\n \"old_node_id\": self.old_node_id,\n \"old_widget_ids\": self.old_widget_ids,\n \"input_mapping\": list(self.input_mapping) if self.input_mapping else None,\n \"output_mapping\": list(self.output_mapping) if self.output_mapping else None,\n }\n",
|
|
"sha256": "a8e7fb5daa3209b379c927706fcf263e2223f28ecd9839a04b7897c786e1d4e0",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:261": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
261,
|
|
265
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"label_on\": self.label_on,\n \"label_off\": self.label_off,\n })\n",
|
|
"sha256": "7c697ac11f734608c2e1ea2f939e09c5c11514442ac3773ca40e949091f61ec4",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:284": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
284,
|
|
291
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"min\": self.min,\n \"max\": self.max,\n \"step\": self.step,\n \"control_after_generate\": self.control_after_generate,\n \"display\": self.display_mode.value if self.display_mode else None,\n })\n",
|
|
"sha256": "e63e8cce3ffbdb0fc2eed608e0480a5ab4fdb13c87f29637314bb7e6d903afd9",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:312": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
312,
|
|
320
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"min\": self.min,\n \"max\": self.max,\n \"step\": self.step,\n \"round\": self.round,\n \"display\": self.display_mode,\n \"gradient_stops\": self.gradient_stops,\n })\n",
|
|
"sha256": "998a83cdce6db10c12e6fdee558860d56be4f8e57e5b252efa91716c721c0f8f",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:337": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
337,
|
|
342
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"multiline\": self.multiline,\n \"placeholder\": self.placeholder,\n \"dynamicPrompts\": self.dynamic_prompts,\n })\n",
|
|
"sha256": "fc1d96e6c8827f0e43fa86c1506c5176a72c53d48e503b23656cc9f513c9f99e",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:381": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
381,
|
|
389
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"multiselect\": self.multiselect,\n \"options\": self.options,\n \"control_after_generate\": self.control_after_generate,\n **({self.upload.value: True} if self.upload is not None else {}),\n \"image_folder\": self.image_folder.value if self.image_folder else None,\n \"remote\": self.remote.as_dict() if self.remote else None,\n })\n",
|
|
"sha256": "24a086a198c563c72215e32ec5206996a937e1fc0ea41393994e03ed2c56dad9",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:410": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
410,
|
|
418
|
|
],
|
|
"text": " def as_dict(self):\n # Frontend expects `multi_select` to be an object config (not a boolean).\n # Keep top-level `multiselect` from Combo.Input for backwards compatibility.\n return super().as_dict() | prune_dict({\n \"multi_select\": prune_dict({\n \"placeholder\": self.placeholder,\n \"chip\": self.chip,\n }),\n })\n",
|
|
"sha256": "e223ba68bcc4143c92ba30d2646c5681405af452ef9df2c3e1ea4a9f7e9f76c8",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1011": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1011,
|
|
1015
|
|
],
|
|
"text": " def as_dict(self):\n if self.input_override is not None:\n return self.input_override.as_dict() | super().as_dict()\n else:\n return super().as_dict()\n",
|
|
"sha256": "d4a822b32be19c36e40ffa7e03ae593c6607af334a55d661481be4b69f207f0d",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1034": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1034,
|
|
1038
|
|
],
|
|
"text": " def as_dict(self):\n return {\n \"template_id\": self.template_id,\n \"allowed_types\": \",\".join([t.io_type for t in self.allowed_types]),\n }\n",
|
|
"sha256": "60744f4e25435361d8654152c2651c51efb452af6a4218009d57e16d352565ef",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1046": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1046,
|
|
1049
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"template\": self.template.as_dict(),\n })\n",
|
|
"sha256": "7cb40132144edcf91298854f45adcd87d5104e9087c4f5b228297cd413185d4c",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1059": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1059,
|
|
1062
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"template\": self.template.as_dict(),\n })\n",
|
|
"sha256": "7cb40132144edcf91298854f45adcd87d5104e9087c4f5b228297cd413185d4c",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1120": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1120,
|
|
1123
|
|
],
|
|
"text": " def as_dict(self):\n return prune_dict({\n \"input\": create_input_dict_v1([self.input]),\n })\n",
|
|
"sha256": "f36f96b8567e64b3f051f5e116d874b7246d69b011d3ab020cc1d8f6c0ec5df7",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1140": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1140,
|
|
1145
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"prefix\": self.prefix,\n \"min\": self.min,\n \"max\": self.max,\n })\n",
|
|
"sha256": "3b2f7fe45c7171426820198a9034dc240e4fe8d6f8abdb023bb542701b3bb8da",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1155": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1155,
|
|
1159
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"names\": self.names,\n \"min\": self.min,\n })\n",
|
|
"sha256": "9b02c7a8d0466958362d02d02c41915c8298dcef56f72bb9b369fad4c9b85157",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1167": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1167,
|
|
1170
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"template\": self.template.as_dict(),\n })\n",
|
|
"sha256": "7cb40132144edcf91298854f45adcd87d5104e9087c4f5b228297cd413185d4c",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1239": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1239,
|
|
1243
|
|
],
|
|
"text": " def as_dict(self):\n return {\n \"key\": self.key,\n \"inputs\": create_input_dict_v1(self.inputs),\n }\n",
|
|
"sha256": "632fa36971282eb34450d43ce8667d301852bb0bfff9983442f45358b1f90eea",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1254": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1254,
|
|
1257
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"options\": [o.as_dict() for o in self.options],\n })\n",
|
|
"sha256": "e3d0359a474f50fa85970dd379092513cade9c29ec8460a2a7aa8a15fb2711a3",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1308": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1308,
|
|
1313
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"slotType\": str(self.slot.get_io_type()),\n \"inputs\": create_input_dict_v1(self.inputs),\n \"forceInput\": self.force_input,\n })\n",
|
|
"sha256": "a9773c2ffdd070bfd958b511d2147f82231a8cdbf5199cc7743fd1edaf5bf44f",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1394": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1394,
|
|
1400
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"template\": create_input_dict_v1(self.template),\n \"min\": self.min,\n \"max\": self.max,\n \"group_name\": self.group_name,\n })\n",
|
|
"sha256": "d1cf29146bcc72890d1c139acf5b09a17aac72a3d3f77c0f463a443bbdd580db",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1458": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1458,
|
|
1459
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict()\n",
|
|
"sha256": "81d229a080be2c7de13a6fa50f7ee7700510be47f86f455e13b31f709c054e1d",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1472": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1472,
|
|
1473
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict()\n",
|
|
"sha256": "81d229a080be2c7de13a6fa50f7ee7700510be47f86f455e13b31f709c054e1d",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1506": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1506,
|
|
1512
|
|
],
|
|
"text": " def as_dict(self):\n d = super().as_dict()\n if self.component:\n d[\"component\"] = self.component\n if self.force_input is not None:\n d[\"forceInput\"] = self.force_input\n return d\n",
|
|
"sha256": "243cdfd936cb2bc60fedac25dc0e2eb7a2c2714621f6cca874df4dd5c2aff822",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1528": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1528,
|
|
1532
|
|
],
|
|
"text": " def as_dict(self):\n d = super().as_dict()\n if self.default is not None:\n d[\"default\"] = {\"points\": [list(p) for p in self.default], \"interpolation\": \"monotone_cubic\"}\n return d\n",
|
|
"sha256": "7cbe8286dfa2d0fff6c2a1c08cfb97a1df0fe3d0273be7d1e67cdf1a05dcee1d",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1578": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1578,
|
|
1581
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"features\": self.features,\n })\n",
|
|
"sha256": "ade4ffe697f344b1d87b1586b30abe28dd0716a93e59e967093b798728d7bde7",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1597": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1597,
|
|
1602
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"ratio_widget\": self.ratio_widget,\n \"megapixels_widget\": self.megapixels_widget,\n \"multiple_widget\": self.multiple_widget,\n })\n",
|
|
"sha256": "7be4045c1d96e03e92f7ecd97fa77114f6c3aeec1842de120552d04000c0084a",
|
|
"evidence_kind": "static interface function text"
|
|
},
|
|
"comfy_api/latest/_io.py:as_dict:1637": {
|
|
"source": {
|
|
"repo": "https://github.com/Comfy-Org/ComfyUI",
|
|
"commit": "8010b48d2c1be986613f8e8c761527d205bd756f",
|
|
"tree": "8c4cb205f5b7381bd75cd457000eb264c78fa979",
|
|
"path": "comfy_api/latest/_io.py",
|
|
"git_blob_sha1": "42d2d1f374f74bcf2c82c9b5fad94ad72752448b",
|
|
"bytes": 106208,
|
|
"sha256": "c2a5aded4895a1adf1acb2df6c011fdfb74e15b0d4fd331ec00ea7562d91d91d",
|
|
"request_key": "text-6",
|
|
"retrieved_at_utc": "2026-11-03T03:27:27.453380+00:00",
|
|
"state": "accepted",
|
|
"file": "source-text/comfy_api__latest___io.py.txt",
|
|
"current_process_loaded": "unknown",
|
|
"historical_installation_bytes": false,
|
|
"scope": "canonical declaration/interface text only; target SDK bytes not sampled"
|
|
},
|
|
"lines": [
|
|
1637,
|
|
1645
|
|
],
|
|
"text": " def as_dict(self):\n return super().as_dict() | prune_dict({\n \"display\": self.display,\n \"gradient_stops\": self.gradient_stops,\n \"show_midpoint\": self.show_midpoint,\n \"midpoint_scale\": self.midpoint_scale,\n \"value_min\": self.value_min,\n \"value_max\": self.value_max,\n })\n",
|
|
"sha256": "5bbdfb656b5dbc08ea930410779d104769cad09287376dd8a2ee7e8556e7f65a",
|
|
"evidence_kind": "static interface function text"
|
|
}
|
|
}
|