blob: 6b46561486d5d8a0ced9d19744985d22f5ed0c50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
from typing import Dict, Any
class BaseClient:
def __init__(self,
host: str,
username: str,
password: str) -> None:
self.host = host
self.username = username
self.password = password
def login(self) -> None:
raise NotImplementedError()
def logout(self) -> Dict[str, Any]:
raise NotImplementedError()
def get_path(self, path: str) -> Dict:
raise NotImplementedError()
|