Skip to content

ToolInterface

ServiceInterface

Bases: ABC

Interface for services.

Source code in myalias/core/interfaces/service_interface.py
 4
 5
 6
 7
 8
 9
10
11
class ServiceInterface(ABC):
    """Interface for services."""

    @staticmethod
    @abstractmethod
    def execute(self):
        """Execute services."""
        pass

execute() abstractmethod staticmethod

Execute services.

Source code in myalias/core/interfaces/service_interface.py
 7
 8
 9
10
11
@staticmethod
@abstractmethod
def execute(self):
    """Execute services."""
    pass