INNER CODE UNIT · Python

INPUT_TYPES

gokayfem/ComfyUI-fal-API · nodes/billing_node.py:58

    def INPUT_TYPES(cls) -> dict[str, Any]:
        return {
            "required": {},
            "optional": {
                "force_refresh": (
                    "BOOLEAN",
                    {
                        "default": False,
                        "tooltip": "Bypass the 60s balance cache and query fal again",
                    },
                ),
            },
        }

    @classmethod
    def IS_CHANGED(cls, **kwargs: Any) -> Any:
        # The balance changes outside the graph; always re-run.
        return float("nan")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…