Auto-commit: OCR workflow improvements, performance optimizations, and bug fixes
This commit is contained in:
15
test_routes.py
Normal file
15
test_routes.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import sys
|
||||
sys.path.insert(0, 'LightRAG-main')
|
||||
|
||||
from lightrag.api.lightrag_server import create_app
|
||||
from lightrag.api.config import global_args
|
||||
|
||||
app = create_app(global_args)
|
||||
|
||||
print("Registered routes:")
|
||||
for route in app.routes:
|
||||
if hasattr(route, 'path'):
|
||||
print(f"{route.path} ({route.methods})")
|
||||
elif hasattr(route, 'routes'):
|
||||
for subroute in route.routes:
|
||||
print(f" {subroute.path} ({subroute.methods})")
|
||||
Reference in New Issue
Block a user