将 native/api/ 改名为 native/wndb/,避免与 Web API 层命名冲突

This commit is contained in:
2026-03-09 12:13:27 +08:00
parent 6b85cfc666
commit 20ab08e206
87 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ import logging
from typing import Any
sys.path.append("..")
from app.native.api import project
from app.native.api import inp_out
from app.native.wndb import project
from app.native.wndb import inp_out
def _verify_platform():
+1 -1
View File
@@ -6,7 +6,7 @@ import psycopg
from psycopg import sql
import app.services.project_info as project_info
from app.native.api.postgresql_info import get_pgconn_string
from app.native.wndb.postgresql_info import get_pgconn_string
from app.services.tjnetwork import read_inp
+1 -1
View File
@@ -7,7 +7,7 @@ import pandas as pd
import psycopg
from sqlalchemy import create_engine
from app.native.api.postgresql_info import get_pgconn_string
from app.native.wndb.postgresql_info import get_pgconn_string
# 2025/03/23
+2 -2
View File
@@ -1,6 +1,6 @@
import numpy as np
from app.services.tjnetwork import *
from app.native.api.s36_wda_cal import *
from app.native.wndb.s36_wda_cal import *
# from get_real_status import *
from datetime import datetime, timedelta
@@ -20,7 +20,7 @@ import logging
import app.services.globals as globals
import uuid
import app.services.project_info as project_info
from app.native.api.postgresql_info import get_pgconn_string
from app.native.wndb.postgresql_info import get_pgconn_string
from app.infra.db.timescaledb.internal_queries import (
InternalQueries as TimescaleInternalQueries,
)
+1 -1
View File
@@ -5,7 +5,7 @@ from math import pi
import pytz
from app.algorithms.api_ex.run_simulation import run_simulation_ex
from app.native.api.project import copy_project
from app.native.wndb.project import copy_project
from app.services.epanet.epanet import Output
from app.services.tjnetwork import *
+1 -1
View File
@@ -1,5 +1,5 @@
from typing import Any
import app.native.api as api
import app.native.wndb as api
import app.services.epanet as epanet