fix(api-nodes): enable 2 more pylint rules, removed non needed code (#10192)

This commit is contained in:
Alexander Piskun
2025-10-04 22:22:57 +03:00
committed by GitHub
parent bbd683098e
commit 22f99fb97e
3 changed files with 4 additions and 50 deletions

View File

@@ -39,6 +39,7 @@ from comfy_api_nodes.apinode_utils import (
tensor_to_base64_string,
bytesio_to_image_tensor,
)
from comfy_api.util import VideoContainer, VideoCodec
GEMINI_BASE_ENDPOINT = "/proxy/vertexai/gemini"
@@ -310,7 +311,7 @@ class GeminiNode(ComfyNodeABC):
Returns:
List of GeminiPart objects containing the encoded video.
"""
from comfy_api.util import VideoContainer, VideoCodec
base_64_string = video_to_base64_string(
video_input,
container_format=VideoContainer.MP4,