1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

import formatting imporvements

This commit is contained in:
checktheroads
2020-10-11 13:14:57 -07:00
parent 6841cb65f5
commit 6b188e446c
28 changed files with 31 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
"""All Data Models used by hyperglass."""
# Local
from .main import HyperglassModel, HyperglassModelExtra

View File

@@ -1,4 +1,5 @@
"""Query & Response Validation Models."""
# Local
from .query import Query
from .response import (
QueryError,

View File

@@ -13,6 +13,7 @@ from pydantic import BaseModel, StrictStr, constr, validator
from hyperglass.exceptions import InputInvalid
from hyperglass.configuration import params, devices
# Local
from .types import SupportedQuery
from .validators import (
validate_ip,

View File

@@ -1,5 +1,6 @@
"""Validate command configuration variables."""
# Local
from .vyos import VyosCommands
from ..main import HyperglassModelExtra
from .arista import AristaCommands

View File

@@ -3,6 +3,7 @@
# Third Party
from pydantic import StrictStr
# Local
from .common import CommandSet, CommandGroup

View File

@@ -3,6 +3,7 @@
# Third Party
from pydantic import StrictStr
# Local
from .common import CommandSet, CommandGroup

View File

@@ -3,6 +3,7 @@
# Third Party
from pydantic import StrictStr
# Local
from .common import CommandSet, CommandGroup

View File

@@ -3,6 +3,7 @@
# Third Party
from pydantic import StrictStr
# Local
from .common import CommandSet, CommandGroup

View File

@@ -3,6 +3,7 @@
# Third Party
from pydantic import StrictStr
# Local
from .common import CommandSet, CommandGroup

View File

@@ -3,6 +3,7 @@
# Third Party
from pydantic import StrictStr
# Local
from ..main import HyperglassModel, HyperglassModelExtra

View File

@@ -3,6 +3,7 @@
# Third Party
from pydantic import StrictStr
# Local
from .common import CommandSet, CommandGroup

View File

@@ -3,6 +3,7 @@
# Third Party
from pydantic import StrictStr
# Local
from .common import CommandSet, CommandGroup

View File

@@ -1,4 +1,5 @@
"""Mikrotik RouterOS Commands Model."""
# Local
from ._mikrotik_base import MikrotikCommands

View File

@@ -1,4 +1,5 @@
"""Mikrotik SwitchOS Commands Model."""
# Local
from ._mikrotik_base import MikrotikCommands

View File

@@ -3,6 +3,7 @@
# Third Party
from pydantic import StrictStr
# Local
from .common import CommandSet, CommandGroup

View File

@@ -10,6 +10,7 @@ from pydantic import StrictStr, root_validator
# Project
from hyperglass.log import log
# Local
from .main import HyperglassModel, HyperglassModelExtra
_WEBHOOK_TITLE = "hyperglass received a valid query with the following data"