File Upload Card
Card type:
fileUpload
Data type of variable:
str
(URL of uploaded file)

To upload a file, click the upload button, or drag and drop a file onto the card. The file will be uploaded to the DataCards instance and the connected variable will be set to the URL of the uploaded file.
The fileUpload card includes the common parameters and the input card parameters.
Examples
Basic file upload card
A file upload card ready to accept files.
datacards.publish.card(
type='fileUpload',
label='File Upload',
logic_view_size=(2,1),
variable_key='my_variable_key'
)

Last updated on