create_batch
imerit_ango.sdk.SDK.
create_batch(project_id, batch_name)
Create a new batch within your project.
Parameters
project_id: string
The unique identifier for the project. You can find the project ID in the user interface or retrieve it using the
list_projectsfunction.
batch_name: string
Name of the batch to be created.
Example:
'My Batch 1'
Returns:
output: dict
A dictionary containing the result of the operation.
Including a
statusfield indicating whether the request was successful and adatafield containing the response payload with updated resources produced by the operation.
How to verify in Ango Hub?
After successfully executing the create_batch function, you can validate the changes directly in Ango Hub.
Navigate to: Projects → [Your Project] → Settings → Batches
Confirm that the newly created batch appears in the batch list.
Changes made via the SDK are reflected in Ango Hub in near real-time. If updates are not immediately visible, please refresh the page.
Example
Create a batch:
Prevent creating duplicate batches:
See also
Last updated