-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfile.py
More file actions
31 lines (21 loc) · 866 Bytes
/
file.py
File metadata and controls
31 lines (21 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List
from datetime import datetime
from .._models import BaseModel
__all__ = ["File"]
class File(BaseModel):
id: str
"""A unique identifier of the file."""
created_at: datetime
"""The timestamp when the file was uploaded."""
graph_ids: List[str]
"""A list of Knowledge Graph IDs that the file is associated with.
If you provided a `graphId` during upload, the file is associated with that
Knowledge Graph. However, the `graph_ids` field in the upload response is an
empty list. The association will be visible in the `graph_ids` list when you
retrieve the file using the file retrieval endpoint.
"""
name: str
"""The name of the file."""
status: str
"""The processing status of the file."""