FolderThumbnail
Last updated
Last updated
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.
Determine information about given file.
type: FileInfo
default value: None
ID of the widget.
type: str
default value: None
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.
Parameters | Type | Description |
---|---|---|
Attributes and Methods | Description |
---|---|
info
FileInfo
Information about given file
widget_id
str
ID of the widget
set(info: FileInfo)
Set given FileInfo
in FolderThumbnail
widget.