fix: address linting issues

This commit is contained in:
bymyself 2025-05-17 23:29:49 -07:00
parent f2a1bceac8
commit 99be8b8944

View File

@ -4,7 +4,7 @@
# due to its protected namespace feature. Several Kling API models use "model_name" fields # due to its protected namespace feature. Several Kling API models use "model_name" fields
# (which indicate which Kling model to use in API requests) triggering these warnings: # (which indicate which Kling model to use in API requests) triggering these warnings:
# #
# UserWarning: Field "model_name" in KlingSingleImageEffectInput has conflict with # UserWarning: Field "model_name" in KlingSingleImageEffectInput has conflict with
# protected namespace "model_". # protected namespace "model_".
# #
# Affected versions: # Affected versions:
@ -19,4 +19,4 @@
# For more details, see: https://github.com/comfyanonymous/ComfyUI/issues/8172#issuecomment-2888641795 # For more details, see: https://github.com/comfyanonymous/ComfyUI/issues/8172#issuecomment-2888641795
import warnings import warnings
warnings.filterwarnings("ignore", message=".*model_name.*protected namespace.*") warnings.filterwarnings("ignore", message=".*model_name.*protected namespace.*")