将 postgresql_info.py 移出 native/,合并到 core/config.py 或 infra/db/,便于后续项目环境变量读取发生变化
This commit is contained in:
@@ -6,7 +6,7 @@ import psycopg
|
||||
from psycopg import sql
|
||||
|
||||
import app.services.project_info as project_info
|
||||
from app.native.wndb.postgresql_info import get_pgconn_string
|
||||
from app.core.config import get_pgconn_string
|
||||
from app.services.tjnetwork import read_inp
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import pandas as pd
|
||||
import psycopg
|
||||
from sqlalchemy import create_engine
|
||||
|
||||
from app.native.wndb.postgresql_info import get_pgconn_string
|
||||
from app.core.config import get_pgconn_string
|
||||
|
||||
|
||||
# 2025/03/23
|
||||
|
||||
@@ -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.wndb.postgresql_info import get_pgconn_string
|
||||
from app.core.config import get_pgconn_string
|
||||
from app.infra.db.timescaledb.internal_queries import (
|
||||
InternalQueries as TimescaleInternalQueries,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user