mirror of
https://github.com/langgenius/dify.git
synced 2026-02-13 07:01:23 -05:00
feat: mypy for all type check (#10921)
This commit is contained in:
@@ -14,7 +14,7 @@ class NotionInfo(BaseModel):
|
||||
notion_workspace_id: str
|
||||
notion_obj_id: str
|
||||
notion_page_type: str
|
||||
document: Document = None
|
||||
document: Optional[Document] = None
|
||||
tenant_id: str
|
||||
model_config = ConfigDict(arbitrary_types_allowed=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user