veilid/veilid-python/veilid_python/api.py

11 lines
251 B
Python
Raw Normal View History

2023-06-12 01:41:13 +00:00
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