Reorganize WNDB by responsibility and remove legacy scheme endpoints.\n\nRoute analysis and time-series access through project pools, preserve transactional realtime replacement, and refresh GIS materialized views after writes.\n\nAdd database architecture documentation, live pooling coverage, API contract updates, and executable container verification.\n\nBREAKING CHANGE: legacy scheme APIs and flat app.native.wndb module imports are removed.
7 lines
220 B
Python
7 lines
220 B
Python
from app.services.tjnetwork import read_inp
|
|
|
|
|
|
def network_update(file_path: str, project_code: str) -> None:
|
|
"""Replace one project's hydraulic model from an EPANET INP file."""
|
|
read_inp(project_code, file_path)
|