mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
14 lines
304 B
Python
14 lines
304 B
Python
from dataclasses import dataclass
|
|
from typing import Mapping
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class AbriConfig:
|
|
endpoint_url: str
|
|
username: str
|
|
password: str
|
|
default_resource: str
|
|
|
|
@classmethod
|
|
def from_env(cls, env: Mapping[str, str]) -> "AbriConfig":
|
|
raise NotImplementedError
|