12 lines
297 B
Python
12 lines
297 B
Python
from abc import ABC, abstractmethod
|
|
from typing import Any, Dict, List
|
|
|
|
class MikroTikClient(ABC):
|
|
@abstractmethod
|
|
async def list_interfaces(self) -> List[Dict[str, Any]]:
|
|
...
|
|
|
|
@abstractmethod
|
|
async def monitor_traffic_once(self, iface: str) -> Dict[str, Any]:
|
|
...
|