voice-matcher-api / app /.vscode /PythonImportHelper-v2-Completion.json
arnabg95's picture
v2
fe79a8f
[
{
"label": "APIRouter",
"importPath": "fastapi",
"description": "fastapi",
"isExtraImport": true,
"detail": "fastapi",
"documentation": {}
},
{
"label": "APIRouter",
"importPath": "fastapi",
"description": "fastapi",
"isExtraImport": true,
"detail": "fastapi",
"documentation": {}
},
{
"label": "APIRouter",
"importPath": "fastapi",
"description": "fastapi",
"isExtraImport": true,
"detail": "fastapi",
"documentation": {}
},
{
"label": "FastAPI",
"importPath": "fastapi",
"description": "fastapi",
"isExtraImport": true,
"detail": "fastapi",
"documentation": {}
},
{
"label": "Request",
"importPath": "fastapi",
"description": "fastapi",
"isExtraImport": true,
"detail": "fastapi",
"documentation": {}
},
{
"label": "v1_routers",
"importPath": "app.routers.V1",
"description": "app.routers.V1",
"isExtraImport": true,
"detail": "app.routers.V1",
"documentation": {}
},
{
"label": "HTMLResponse",
"importPath": "fastapi.responses",
"description": "fastapi.responses",
"isExtraImport": true,
"detail": "fastapi.responses",
"documentation": {}
},
{
"label": "StaticFiles",
"importPath": "fastapi.staticfiles",
"description": "fastapi.staticfiles",
"isExtraImport": true,
"detail": "fastapi.staticfiles",
"documentation": {}
},
{
"label": "Jinja2Templates",
"importPath": "fastapi.templating",
"description": "fastapi.templating",
"isExtraImport": true,
"detail": "fastapi.templating",
"documentation": {}
},
{
"label": "CORSMiddleware",
"importPath": "fastapi.middleware.cors",
"description": "fastapi.middleware.cors",
"isExtraImport": true,
"detail": "fastapi.middleware.cors",
"documentation": {}
},
{
"label": "routes",
"importPath": "app.routers",
"description": "app.routers",
"isExtraImport": true,
"detail": "app.routers",
"documentation": {}
},
{
"label": "router",
"kind": 5,
"importPath": "routers.V1.voice.voice_router",
"description": "routers.V1.voice.voice_router",
"peekOfCode": "router = APIRouter(prefix=\"/voice\", tags=[\"Voice\"])\[email protected](\"/transcribe\")\nasync def transcribe_audio():\n return",
"detail": "routers.V1.voice.voice_router",
"documentation": {}
},
{
"label": "router",
"kind": 5,
"importPath": "routers.V1.v1_routers",
"description": "routers.V1.v1_routers",
"peekOfCode": "router = APIRouter()\n\"\"\" include auth routes \"\"\"\nrouter.include_router()",
"detail": "routers.V1.v1_routers",
"documentation": {}
},
{
"label": "router",
"kind": 5,
"importPath": "routers.routes",
"description": "routers.routes",
"peekOfCode": "router = APIRouter()\n\"\"\" include the v1 routes here \"\"\"\nrouter.include_router(v1_routers.router)",
"detail": "routers.routes",
"documentation": {}
},
{
"label": "app",
"kind": 5,
"importPath": "main",
"description": "main",
"peekOfCode": "app = FastAPI(\n title=\"Mother Tongue Voice Matcher\",\n version=\"0.0.5\",\n servers=[{\n \"url\": \"http://127.0.0.1:8000/api/v1\", \"description\": \"Local Server\"\n }],\n root_path=\"/api/v1\",\n root_path_in_servers=False,\n)\n# cors policy",
"detail": "main",
"documentation": {}
},
{
"label": "origins",
"kind": 5,
"importPath": "main",
"description": "main",
"peekOfCode": "origins = [\n \"http://localhost\",\n \"http://localhost:8080\",\n \"http://localhost:3000\",\n \"http://localhost:5173\",\n \"http://127.0.0.1\",\n \"http://127.0.0.1:8080\",\n \"http://127.0.0.1:3000\",\n \"http://127.0.0.1:5173\",\n]",
"detail": "main",
"documentation": {}
},
{
"label": "templates",
"kind": 5,
"importPath": "main",
"description": "main",
"peekOfCode": "templates = Jinja2Templates(directory=\"app/templates\")\[email protected](\"/\", response_class=HTMLResponse, include_in_schema=False)\nasync def root(request: Request):\n \"\"\"set the root to show a html welcome page\"\"\"\n return templates.TemplateResponse(request=request, name=\"index.html\")\n# include all the other api endpoints\napp.include_router(routes.router)",
"detail": "main",
"documentation": {}
}
]