VersionInfo

class VersionInfo(id, project_id, created_by, team_file_id, version, description, status, created_at, updated_at, project_updated_at, team_id, name, preview_project_id=None)[source]

Bases: NamedTuple

Object with parameters from Supervisely that describes the version of the project.

Create new instance of VersionInfo(id, project_id, created_by, team_file_id, version, description, status, created_at, updated_at, project_updated_at, team_id, name, preview_project_id)

Methods

count

Return number of occurrences of value.

index

Return first index of value.

Attributes

created_at

Alias for field number 7

created_by

Alias for field number 2

description

Alias for field number 5

id

Alias for field number 0

name

Alias for field number 11

preview_project_id

Alias for field number 12

project_id

Alias for field number 1

project_updated_at

Alias for field number 9

status

Alias for field number 6

team_file_id

Alias for field number 3

team_id

Alias for field number 10

updated_at

Alias for field number 8

version

Alias for field number 4

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

created_at

Alias for field number 7

created_by

Alias for field number 2

description

Alias for field number 5

id

Alias for field number 0

name

Alias for field number 11

preview_project_id

Alias for field number 12

project_id

Alias for field number 1

project_updated_at

Alias for field number 9

status

Alias for field number 6

team_file_id

Alias for field number 3

team_id

Alias for field number 10

updated_at

Alias for field number 8

version

Alias for field number 4