parent
04279ce8c6
commit
7de3ac9e6a
3 changed files with 6 additions and 6 deletions
|
@ -0,0 +1,3 @@
|
||||||
|
# GenieACS COmmander
|
||||||
|
|
||||||
|
Integration of GenieACS API with ...
|
|
@ -1,16 +1,16 @@
|
||||||
from typing import Any, Type, Tuple
|
from typing import Type, Tuple
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
from pydantic_settings import (
|
from pydantic_settings import (
|
||||||
BaseSettings,
|
BaseSettings,
|
||||||
SecretsSettingsSource,
|
# SecretsSettingsSource,
|
||||||
SettingsConfigDict,
|
SettingsConfigDict,
|
||||||
PydanticBaseSettingsSource,
|
PydanticBaseSettingsSource,
|
||||||
YamlConfigSettingsSource,
|
YamlConfigSettingsSource,
|
||||||
)
|
)
|
||||||
|
|
||||||
config_files = [Path(Path.cwd().root) / "etc" / "acsc" / "congig.yaml"]
|
config_files = [Path(Path.cwd().root) / "etc" / "gacsco" / "congig.yaml"]
|
||||||
|
|
||||||
|
|
||||||
class Connection(BaseModel):
|
class Connection(BaseModel):
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
from dataclasses import dataclass
|
|
||||||
from json import dumps
|
from json import dumps
|
||||||
from urllib.parse import quote
|
|
||||||
|
|
||||||
import httpx
|
import httpx
|
||||||
from netaddr import EUI, AddrFormatError
|
from netaddr import EUI, AddrFormatError
|
||||||
|
|
||||||
from gacsco.config import conf
|
from gacsco.config import conf
|
||||||
from gacsco.utils import GacscoError
|
|
||||||
|
|
||||||
|
|
||||||
class LoginError(Exception):
|
class LoginError(Exception):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue