mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
Chore/code format and Repair commit_id 3254018d more deleted codes and Fix naming error ambiguity between workflow_run_id and workflow_id (#17075)
Co-authored-by: 刘江波 <jiangbo721@163.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
from enum import Enum
|
||||
from enum import StrEnum
|
||||
from typing import Literal, Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
@ -11,7 +11,7 @@ class SegmentUpdateEntity(BaseModel):
|
||||
enabled: Optional[bool] = None
|
||||
|
||||
|
||||
class ParentMode(str, Enum):
|
||||
class ParentMode(StrEnum):
|
||||
FULL_DOC = "full-doc"
|
||||
PARAGRAPH = "paragraph"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user