Skip to content

Uploaded asset

UploadedAsset dataclass #

UploadedAsset(name: str)

A reference to media that is already uploaded to Rapidata.

Job definitions accept it wherever they take a media datapoint or media context, on its own or mixed with paths and URLs, and use it as-is instead of uploading again. Get one from client.asset.upload(...), or wrap the fileName the asset API returned for an upload.

Attributes:

Name Type Description
name str

The uploaded asset's file name on Rapidata.