将 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,
|
||||
PIPE_STATUS_OPEN,
|
||||
add_pipe,
|
||||
delete_pipe,
|
||||
get_all_pipes,
|
||||
get_pipe,
|
||||
get_pipe_schema,
|
||||
set_pipe,
|
||||
)
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user