mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-04-17 21:38:27 +00:00
- Add BGPRoute import and export in hyperglass.models.data.__init__.py - This allows BGP parsers to properly import BGPRoute for validation - Resolves ImportError when starting hyperglass application
15 lines
245 B
Python
15 lines
245 B
Python
"""Data structure models."""
|
|
|
|
# Standard Library
|
|
from typing import Union
|
|
|
|
# Local
|
|
from .bgp_route import BGPRoute, BGPRouteTable
|
|
|
|
OutputDataModel = Union[BGPRouteTable]
|
|
|
|
__all__ = (
|
|
"BGPRoute",
|
|
"BGPRouteTable",
|
|
"OutputDataModel",
|
|
)
|