Reorganize algorithm packages by business responsibility, move orchestration into services, and keep database access behind pooled repositories. Harden analysis API validation, remove unsafe legacy simulation endpoints, and add regression and architecture boundary coverage. BREAKING CHANGE: legacy algorithm module paths and obsolete simulation endpoints are removed.
7 lines
226 B
Python
7 lines
226 B
Python
from app.native.wndb.inp.importer 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)
|