将 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
+19 -1
View File
@@ -1,6 +1,24 @@
from fastapi import APIRouter, Request, Response
from typing import Any, List, Dict, Union
from app.services.tjnetwork import *
from app.services.tjnetwork import (
Any,
ChangeSet,
add_label,
add_vertex,
delete_label,
delete_vertex,
get_all_vertex_links,
get_all_vertices,
get_backdrop,
get_backdrop_schema,
get_label,
get_label_schema,
get_vertex,
get_vertex_schema,
set_backdrop,
set_label,
set_vertex,
)
from fastapi.responses import PlainTextResponse
import json