将 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
+10 -1
View File
@@ -1,6 +1,15 @@
from fastapi import APIRouter, Request
from typing import Any, List, Dict, Union
from app.services.tjnetwork import *
from app.services.tjnetwork import (
Any,
ChangeSet,
get_control,
get_control_schema,
get_rule,
get_rule_schema,
set_control,
set_rule,
)
router = APIRouter()