veilid/veilid-python/veilid_python/api.py
2023-06-11 21:41:13 -04:00

11 lines
251 B
Python

from abc import ABC, abstractmethod
from .state import VeilidState
class VeilidAPI(ABC):
@abstractmethod
def control(self, args: list[str]) -> str:
pass
@abstractmethod
def get_state(self) -> VeilidState:
pass