1
0
Fork 1
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:
Wilhelm Schonfeldt 2025-09-26 16:59:10 +02:00
parent 6af39fb5be
commit c394d93326

View file

@ -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",
)