branch

Boomi AtomSphere API:Branch Object

boomi_cicd.util.branch.get_branch_id(branch_name)[source]

Get the branch ID for a given branch name.

Parameters:

branch_name (str) – The name of the branch.

Returns:

The ID of the branch.

Return type:

str

boomi_cicd.util.branch.create_branch(branch_name, parent_branch_id, description='')[source]

Create a new branch.

Parameters:
  • branch_name (str) – The name of the new branch.

  • parent_branch_id (str) – The ID of the parent branch.

  • description (str) – The description of the new branch. (Optional)

Returns:

The ID of the newly created branch.

Return type:

str

exception boomi_cicd.util.branch.BranchNotFoundError[source]

Raised when a branch is not found.

exception boomi_cicd.util.branch.MultipleBranchesFoundError[source]

Raised when multiple branches are found with the same name.