Files
ausboss 1ec9359a92 Node text: say what the nodes do today
Tooltips, two labels and one console warning still described older
versions of the nodes. Wording only: no inputs, outputs or saved values
change.

- Latent Size: the gear, its menu and an error said "Resolution".
- Video Crop + Rotate + Pad -> Clip: tooltips said Snap and Limit where
  the node says Frames for and Length, and described dragging a handle
  to move the whole window. IN and OUT trim; Length sets a frame count.
- Run Timer: earlier runs are in the right-click menu, not under the
  number.
- Krea 2 Outpaint Model Patch: the rounding strip the warning names only
  comes from Divisible by on the Crop + Rotate + Pad nodes. Load Image +
  Pad never adds one.
- Save Image: its preview switch said off skips a temp file. It writes
  none, so it gets its own tooltip; the other preview nodes keep theirs.
- Workflow Note: the Banner layout shows the title, subtitle and author.
- LoRA Loader: a docstring said the pack only reads the Civitai file. It
  also writes it on Fetch Civitai info.
2026-10-06 13:15:16 -05:00

35 lines
1.2 KiB
Python

"""Run Timer 🆎 — how long the last queue took, on the canvas."""
from __future__ import annotations
class AusBossRunTimer:
CATEGORY = "🆎 AusBoss/Utility"
DESCRIPTION = (
"A stopwatch for the whole run. It starts when a queued prompt "
"begins executing, ticks on the node while it runs, and holds the "
"total when it finishes. Right-click it for the few runs before, "
"so a settings change can be judged against the last one. The times "
"are saved with the workflow, so a shared graph carries its author's "
"run time as a reference. No inputs, no outputs; it listens to the "
"queue rather than sitting on a wire."
)
SEARCH_ALIASES = ["timer", "run time", "stopwatch", "elapsed", "benchmark", "ausboss"]
@classmethod
def INPUT_TYPES(cls):
return {"required": {}}
RETURN_TYPES = ()
FUNCTION = "noop"
def noop(self):
# Never reached: with no outputs the node is not part of any prompt.
return ()
NODE_CLASS_MAPPINGS = {"AUSBOSS_NODES_RunTimer": AusBossRunTimer}
NODE_DISPLAY_NAME_MAPPINGS = {"AUSBOSS_NODES_RunTimer": "Run Timer 🆎"}
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]