mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 09:39:25 +08:00
fix: add return type annotation to Moderation.validate_config abstract method (#32491)
This commit is contained in:
@@ -39,7 +39,7 @@ class Moderation(Extensible, ABC):
|
||||
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
def validate_config(cls, tenant_id: str, config: dict):
|
||||
def validate_config(cls, tenant_id: str, config: dict) -> None:
|
||||
"""
|
||||
Validate the incoming form config data.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user