Source code for openswmm.legacy.engine._links

"""Pythonic property-based access to SWMM links.

Provides :class:`LegacyLinks` (collection) and :class:`LegacyLink` (single
element) wrappers with typed properties and mass-balance documentation.
"""

from typing import Optional, TYPE_CHECKING

from ._solver import (
    SWMMObjects,
    SWMMLinkProperties,
    SWMMLinkTypes,
)

if TYPE_CHECKING:
    from ._solver import Solver
    from ._forcing_log import ExternalForcingLog