mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
chore: apply pep8-naming rules for naming convention (#8261)
This commit is contained in:
@ -34,6 +34,7 @@ class RelytConfig(BaseModel):
|
||||
database: str
|
||||
|
||||
@model_validator(mode="before")
|
||||
@classmethod
|
||||
def validate_config(cls, values: dict) -> dict:
|
||||
if not values["host"]:
|
||||
raise ValueError("config RELYT_HOST is required")
|
||||
|
||||
Reference in New Issue
Block a user