mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
chore: apply pep8-naming rules for naming convention (#8261)
This commit is contained in:
@ -15,6 +15,7 @@ class Segment(BaseModel):
|
||||
value: Any
|
||||
|
||||
@field_validator("value_type")
|
||||
@classmethod
|
||||
def validate_value_type(cls, value):
|
||||
"""
|
||||
This validator checks if the provided value is equal to the default value of the 'value_type' field.
|
||||
|
||||
Reference in New Issue
Block a user