lakehouse_engine.core.executable

Module representing an executable lakehouse engine component.

 1"""Module representing an executable lakehouse engine component."""
 2
 3from abc import ABC, abstractmethod
 4from typing import Any, Optional
 5
 6
 7class Executable(ABC):
 8    """Abstract class defining the behaviour of an executable component."""
 9
10    @abstractmethod
11    def execute(self) -> Optional[Any]:
12        """Define the executable component behaviour.
13
14        E.g., the behaviour of an algorithm inheriting from this.
15        """
16        pass
class Executable(abc.ABC):
 8class Executable(ABC):
 9    """Abstract class defining the behaviour of an executable component."""
10
11    @abstractmethod
12    def execute(self) -> Optional[Any]:
13        """Define the executable component behaviour.
14
15        E.g., the behaviour of an algorithm inheriting from this.
16        """
17        pass

Abstract class defining the behaviour of an executable component.

@abstractmethod
def execute(self) -> Optional[Any]:
11    @abstractmethod
12    def execute(self) -> Optional[Any]:
13        """Define the executable component behaviour.
14
15        E.g., the behaviour of an algorithm inheriting from this.
16        """
17        pass

Define the executable component behaviour.

E.g., the behaviour of an algorithm inheriting from this.