Skip to content

Reference

ImxMultiRepo

Represents a collection of ImxContainers.

Attributes:

Name Type Description
containers list[ImxRepo]

A list of ImxContainers.

Parameters:

Name Type Description Default
containers list[ImxRepo]

A list of ImxContainers.

required
version_safe bool

If True, ensures all containers have the same IMX version.

True

Raises:

Type Description
ValueError

If version_safe is True and containers have different IMX versions.

add_container(container)

Add an ImxContainer to the MultiContainer.

Parameters:

Name Type Description Default
container ImxRepo

The container to add.

required

remove_container(container)

Remove an ImxContainer from the MultiContainer.

Parameters:

Name Type Description Default
container ImxRepo

The container to remove.

required

compair()

Returns the compair of the repository

Returns:

Type Description
ImxCompareMultiRepo

A ImxCompareMultiRepo object