mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-13 00:45:54 -04:00
python work
This commit is contained in:
parent
b6c39ef042
commit
cd04a8a74c
17 changed files with 7309 additions and 4 deletions
11
veilid-python/veilid_python/api.py
Normal file
11
veilid-python/veilid_python/api.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue