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