Toloka documentation

Attachment

toloka.client.attachment.Attachment | Source code

Attachment(
    self,
    *,
    id: Optional[str] = None,
    name: Optional[str] = None,
    details: Optional[Details] = None,
    created: Optional[datetime] = None,
    media_type: Optional[str] = None,
    owner: Optional[Owner] = None
)

Attachment

Files uploaded by users are saved in Toloka.

Parameters Description

Parameters Type Description
id Optional[str]

File ID.

name Optional[str]

File name.

details Optional[Details]

Infomation about the pool, the task, and the user who uploaded the file.

created Optional[datetime]

Date the file was uploaded to Toloka.

media_type Optional[str]

MIME data type.

owner Optional[Owner]

Owner