create_batch

imerit_ango.sdk.SDK.

create_batch(project_id, batch_name)

Create a new batch within your project.

Parameters

  • project_id: string

  • 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 status field indicating whether the request was successful and a data field 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:

Last updated