将 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,
add_pattern,
delete_pattern,
get_pattern,
get_pattern_schema,
get_patterns,
is_pattern,
set_pattern,
)
router = APIRouter()