Feat/add-remote-file-upload-api (#9906)
This commit is contained in:
parent
78b74cce8e
commit
9ac2bb30f4
72 changed files with 788 additions and 272 deletions
|
|
@ -4,7 +4,7 @@ import logging
|
|||
import random
|
||||
import time
|
||||
import uuid
|
||||
from typing import Optional
|
||||
from typing import Any, Optional
|
||||
|
||||
from flask_login import current_user
|
||||
from sqlalchemy import func
|
||||
|
|
@ -675,7 +675,7 @@ class DocumentService:
|
|||
def save_document_with_dataset_id(
|
||||
dataset: Dataset,
|
||||
document_data: dict,
|
||||
account: Account,
|
||||
account: Account | Any,
|
||||
dataset_process_rule: Optional[DatasetProcessRule] = None,
|
||||
created_from: str = "web",
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue