FileThumbnail widget in Supervisely displays an icon, link, and path to the file in Team Files. Clicking on the widget opens Supervisely Team Files interface, where you can view and edit the file.
Function signature
FileThumbnail(info=None, widget_id=None)
Parameters
Parameters
Type
Description
info
FileInfo
Information about given file
widget_id
str
ID of the widget
info
Determine information about given file.
type:FileInfo
default value:None
widget_id
ID of the widget.
type:str
default value:None
Methods and attributes
Attributes and Methods
Description
set(info: FileInfo)
Set given FileInfo in FileThumbnail.
Mini App Example
You can find this example in our Github repository: