Supervisely

Latest version: v6.73.116

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

Scan your dependencies

Page 134 of 145

6.7.1

6.7.0

6.6.3

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

Page 134 of 145

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.