将 from app.services.tjnetwork import * 改为显式导入

This commit is contained in:
2026-03-09 17:51:12 +08:00
parent c946e1b58b
commit 8c7d77e6ee
38 changed files with 845 additions and 38 deletions
+11 -1
View File
@@ -1,6 +1,16 @@
from fastapi import APIRouter, Request
from typing import Any, List, Dict, Union
from app.services.tjnetwork import *
from app.services.tjnetwork import (
Any,
ChangeSet,
VALVES_TYPE_PRV,
add_valve,
delete_valve,
get_all_valves,
get_valve,
get_valve_schema,
set_valve,
)
router = APIRouter()