mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
import formatting imporvements
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
"""All Data Models used by hyperglass."""
|
||||
|
||||
# Local
|
||||
from .main import HyperglassModel, HyperglassModelExtra
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Query & Response Validation Models."""
|
||||
# Local
|
||||
from .query import Query
|
||||
from .response import (
|
||||
QueryError,
|
||||
|
@@ -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,
|
||||
|
@@ -1,5 +1,6 @@
|
||||
"""Validate command configuration variables."""
|
||||
|
||||
# Local
|
||||
from .vyos import VyosCommands
|
||||
from ..main import HyperglassModelExtra
|
||||
from .arista import AristaCommands
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# Third Party
|
||||
from pydantic import StrictStr
|
||||
|
||||
# Local
|
||||
from .common import CommandSet, CommandGroup
|
||||
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# Third Party
|
||||
from pydantic import StrictStr
|
||||
|
||||
# Local
|
||||
from .common import CommandSet, CommandGroup
|
||||
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# Third Party
|
||||
from pydantic import StrictStr
|
||||
|
||||
# Local
|
||||
from .common import CommandSet, CommandGroup
|
||||
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# Third Party
|
||||
from pydantic import StrictStr
|
||||
|
||||
# Local
|
||||
from .common import CommandSet, CommandGroup
|
||||
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# Third Party
|
||||
from pydantic import StrictStr
|
||||
|
||||
# Local
|
||||
from .common import CommandSet, CommandGroup
|
||||
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# Third Party
|
||||
from pydantic import StrictStr
|
||||
|
||||
# Local
|
||||
from ..main import HyperglassModel, HyperglassModelExtra
|
||||
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# Third Party
|
||||
from pydantic import StrictStr
|
||||
|
||||
# Local
|
||||
from .common import CommandSet, CommandGroup
|
||||
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# Third Party
|
||||
from pydantic import StrictStr
|
||||
|
||||
# Local
|
||||
from .common import CommandSet, CommandGroup
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Mikrotik RouterOS Commands Model."""
|
||||
# Local
|
||||
from ._mikrotik_base import MikrotikCommands
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Mikrotik SwitchOS Commands Model."""
|
||||
# Local
|
||||
from ._mikrotik_base import MikrotikCommands
|
||||
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
# Third Party
|
||||
from pydantic import StrictStr
|
||||
|
||||
# Local
|
||||
from .common import CommandSet, CommandGroup
|
||||
|
||||
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user