Skip to content

Container Registries

zenml.container_registries special

base_container_registry

BaseContainerRegistry (StackComponent) pydantic-model

Base class for all ZenML container registries.

Attributes:

Name Type Description
uri str

The URI of the container registry.

Source code in zenml/container_registries/base_container_registry.py
class BaseContainerRegistry(StackComponent):
    """Base class for all ZenML container registries.

    Attributes:
        uri: The URI of the container registry.
    """

    uri: str
    supports_local_execution = True
    supports_remote_execution = True

    @property
    def type(self) -> StackComponentType:
        """The component type."""
        return StackComponentType.CONTAINER_REGISTRY

    @property
    def flavor(self) -> ContainerRegistryFlavor:
        """The container registry flavor."""
        return ContainerRegistryFlavor.DEFAULT
flavor: ContainerRegistryFlavor property readonly

The container registry flavor.

type: StackComponentType property readonly

The component type.