FolderThumbnail
Last updated
Was this helpful?
Last updated
Was this helpful?
FolderThumbnail
widget in Supervisely is a widget that allows for quickly identifying and navigating to specific folder in Team files. Clicking on it opens the folder in Supervisely Team files interface.
info
FileInfo
Information about given file
widget_id
str
ID of the widget
Determine information about given file.
type: FileInfo
default value: None
ID of the widget.
type: str
default value: None
set(info: FileInfo)
Set given FileInfo
in FolderThumbnail
widget.
You can find this example in our Github repository:
ui-widgets-demos/thumbnail/004_folder_thumbnail/src/main.py
First, we load environment variables with credentials and init API for communicating with Supervisely Instance:
FolderThumbnail
widgetPrepare a layout for app using Card
widget with the content
parameter and place widget that we've just created in the Container
widget.
Create an app object with layout parameter.