mirror of
https://github.com/langgenius/dify.git
synced 2026-11-30 08:37:45 +08:00
15 lines
368 B
Python
15 lines
368 B
Python
from collections.abc import Sequence
|
|||
|
|
from dataclasses import dataclass
|
||
|
|
|
||
|
|
|
||
|
|
@dataclass
|
||
|
|
class DocumentTask:
|
||
|
|
"""Document task entity for document indexing operations.
|
||
|
|
|
||
|
|
This class represents a document indexing task that can be queued
|
||
|
|
and processed by the document indexing system.
|
||
|
|
"""
|
||
|
|
|
||
|
|
tenant_id: str
|
||
|
|
dataset_id: str
|
||
|
|
document_ids: Sequence[str]
|