File Class
Properties of the file or directory.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
File
Constructor
File(**kwargs)
Variables
- name
- str
Name of the file.
- file_type
- str or <xref:batch_ai.models.FileType>
Type of the file. Possible values are file and directory. Possible values include: "file", "directory".
- download_url
- str
URL to download the corresponding file. The downloadUrl is not returned for directories.
- last_modified
- datetime
The time at which the file was last modified.
- content_length
- <xref:long>
The file of the size.
Feedback
Submit and view feedback for