mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-04-17 13:28:27 +00:00
Fix: Export BGPRoute class in data models __init__.py
- 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
This commit is contained in:
parent
6af39fb5be
commit
c394d93326
1 changed files with 2 additions and 1 deletions
|
|
@ -4,11 +4,12 @@
|
|||
from typing import Union
|
||||
|
||||
# Local
|
||||
from .bgp_route import BGPRouteTable
|
||||
from .bgp_route import BGPRoute, BGPRouteTable
|
||||
|
||||
OutputDataModel = Union[BGPRouteTable]
|
||||
|
||||
__all__ = (
|
||||
"BGPRoute",
|
||||
"BGPRouteTable",
|
||||
"OutputDataModel",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue