Supervisely

Latest version: v6.73.77

Safety actively analyzes 623395 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 128 of 139

6.6.2

6.6.1

New field in video info tuple: `info.custom_data`
New method: `api.video.update_custom_data`

py
import supervisely as sly

server_address = "my-secret-name.com"
api_token = "api-token-copied-from-supervisely-account-settings"
api = sly.Api(server_address, api_token)
video_id = 2797204

info = api.video.get_info_by_id(video_id)
print(info.custom_data)

my_custom_json = {
"name": "max",
"mmm": 123
}
api.video.update_custom_data(video_id, my_custom_json)
info_new = api.video.get_info_by_id(video_id)
print(info_new.custom_data)

6.6.0

Usage (both cases are valid):
py
import supervisely_lib as sly


or

py
import supervisely as sly

6.5.0

6.4.10

6.4.9

Page 128 of 139

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.