DatasetInfo¶
- class DatasetInfo(id, name, description, size, project_id, images_count, items_count, created_at, updated_at, reference_image_url, team_id, workspace_id, parent_id, custom_data, created_by)[source]¶
Bases:
NamedTupleRepresent Supervisely Dataset information.
- Parameters:
- id : int¶
Dataset ID.
- name : str¶
Dataset Name.
- description : str¶
Dataset description.
- size : int¶
Dataset size.
- project_id : int¶
Project ID in which the Dataset is located.
- images_count : int¶
Number of images in the
Dataset.- items_count : int¶
Number of items in the
Dataset.- created_at : str¶
Date and time when the Dataset was created.
- updated_at : str¶
Date and time when the Dataset was last updated.
- reference_image_url : str¶
URL of the reference image.
- team_id : int¶
Team ID in which the Dataset is located.
- workspace_id : int¶
Workspace ID in which the Dataset is located.
- parent_id : Union[int, None]¶
Parent Dataset ID. If the Dataset is not nested, then the value is None.
Create new instance of DatasetInfo(id, name, description, size, project_id, images_count, items_count, created_at, updated_at, reference_image_url, team_id, workspace_id, parent_id, custom_data, created_by)
Methods
Return number of occurrences of value.
Return first index of value.
Attributes
Alias for field number 7
Alias for field number 14
Alias for field number 13
Alias for field number 2
Alias for field number 0
image_preview_urlAlias for field number 5
Alias for field number 6
Alias for field number 1
Alias for field number 12
Alias for field number 4
Alias for field number 9
Alias for field number 3
Alias for field number 10
Alias for field number 8
Alias for field number 11
-
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 14
- custom_data¶
Alias for field number 13
- description¶
Alias for field number 2
- id¶
Alias for field number 0
- images_count¶
Alias for field number 5
- items_count¶
Alias for field number 6
- name¶
Alias for field number 1
- parent_id¶
Alias for field number 12
- project_id¶
Alias for field number 4
- reference_image_url¶
Alias for field number 9
- size¶
Alias for field number 3
- team_id¶
Alias for field number 10
- updated_at¶
Alias for field number 8
- workspace_id¶
Alias for field number 11