将 from app.services.tjnetwork import * 改为显式导入
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user