Batch module
BatchActions
Bases: BaseAction
Batches actions
create_batch(project_id, name, disable_progress_bar=False)
Create a batch in a project
Parameters:
Name | Type | Description | Default |
---|---|---|---|
project_id
|
str
|
ID of the project |
required |
name
|
str
|
Name of the batch |
required |
disable_progress_bar
|
Optional[bool]
|
Disable the progress bar display |
False
|
link_dataset_to_batch(batch_id, dataset_id, disable_progress_bar=False)
Link (or unlink) a dataset to a batch
Parameters:
Name | Type | Description | Default |
---|---|---|---|
batch_id
|
BatchId
|
ID of the batch |
required |
dataset_id
|
ID of the dataset to link or None to unlink a dataset from the batch |
required | |
disable_progress_bar
|
Optional[bool]
|
Disable the progress bar display |
False
|