Skip to content

Hyperai

Initialization of the HyperAI integration.

HyperAIIntegration

Bases: Integration

Definition of HyperAI integration for ZenML.

Source code in src/zenml/integrations/hyperai/__init__.py
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
class HyperAIIntegration(Integration):
    """Definition of HyperAI integration for ZenML."""

    NAME = HYPERAI
    REQUIREMENTS = [
        "paramiko>=3.4.0",
    ]

    @classmethod
    def activate(cls) -> None:
        """Activates the integration."""
        from zenml.integrations.hyperai import service_connectors  # noqa

    @classmethod
    def flavors(cls) -> List[Type[Flavor]]:
        """Declare the stack component flavors for the HyperAI integration.

        Returns:
            List of stack component flavors for this integration.
        """
        from zenml.integrations.hyperai.flavors import (
            HyperAIOrchestratorFlavor
        )

        return [HyperAIOrchestratorFlavor]

activate() classmethod

Activates the integration.

Source code in src/zenml/integrations/hyperai/__init__.py
34
35
36
37
@classmethod
def activate(cls) -> None:
    """Activates the integration."""
    from zenml.integrations.hyperai import service_connectors  # noqa

flavors() classmethod

Declare the stack component flavors for the HyperAI integration.

Returns:

Type Description
List[Type[Flavor]]

List of stack component flavors for this integration.

Source code in src/zenml/integrations/hyperai/__init__.py
39
40
41
42
43
44
45
46
47
48
49
50
@classmethod
def flavors(cls) -> List[Type[Flavor]]:
    """Declare the stack component flavors for the HyperAI integration.

    Returns:
        List of stack component flavors for this integration.
    """
    from zenml.integrations.hyperai.flavors import (
        HyperAIOrchestratorFlavor
    )

    return [HyperAIOrchestratorFlavor]