chore(api/core): apply ruff reformatting (#7624)

This commit is contained in:
Bowen Liang 2024-09-10 17:00:20 +08:00 committed by GitHub
commit 2cf1187b32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
724 changed files with 21180 additions and 21123 deletions

View file

@ -10,6 +10,7 @@ class NotionInfo(BaseModel):
"""
Notion import info.
"""
notion_workspace_id: str
notion_obj_id: str
notion_page_type: str
@ -25,6 +26,7 @@ class WebsiteInfo(BaseModel):
"""
website import info.
"""
provider: str
job_id: str
url: str
@ -43,6 +45,7 @@ class ExtractSetting(BaseModel):
"""
Model class for provider response.
"""
datasource_type: str
upload_file: Optional[UploadFile] = None
notion_info: Optional[NotionInfo] = None