Spaces:
Sleeping
Sleeping
bigwolfe commited on
Commit ·
40fe67e
1
Parent(s): aca3d0b
vault working
Browse files- .gitignore +5 -0
- backend/main.py +1 -0
- backend/src/api/routes/graph.py +4 -4
.gitignore
CHANGED
|
@@ -47,3 +47,8 @@ data/
|
|
| 47 |
.backend.pid
|
| 48 |
.frontend.pid
|
| 49 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
.backend.pid
|
| 48 |
.frontend.pid
|
| 49 |
|
| 50 |
+
# Testing
|
| 51 |
+
.playwright-mcp/
|
| 52 |
+
|
| 53 |
+
reproduce_auth_500.py
|
| 54 |
+
debug_list_notes.py
|
backend/main.py
CHANGED
|
@@ -4,6 +4,7 @@ import os
|
|
| 4 |
|
| 5 |
import uvicorn
|
| 6 |
from dotenv import load_dotenv
|
|
|
|
| 7 |
|
| 8 |
load_dotenv()
|
| 9 |
|
|
|
|
| 4 |
|
| 5 |
import uvicorn
|
| 6 |
from dotenv import load_dotenv
|
| 7 |
+
from src.api.main import app
|
| 8 |
|
| 9 |
load_dotenv()
|
| 10 |
|
backend/src/api/routes/graph.py
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
from fastapi import APIRouter, Depends, HTTPException
|
| 2 |
from typing import Annotated
|
| 3 |
|
| 4 |
-
from
|
| 5 |
-
from
|
| 6 |
-
from
|
| 7 |
-
from
|
| 8 |
|
| 9 |
router = APIRouter()
|
| 10 |
|
|
|
|
| 1 |
from fastapi import APIRouter, Depends, HTTPException
|
| 2 |
from typing import Annotated
|
| 3 |
|
| 4 |
+
from ...models.graph import GraphData
|
| 5 |
+
from ..middleware import AuthContext, get_auth_context
|
| 6 |
+
from ...services.indexer import IndexerService
|
| 7 |
+
from ...services.database import DatabaseService
|
| 8 |
|
| 9 |
router = APIRouter()
|
| 10 |
|