mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
11 lines
299 B
Python
11 lines
299 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from fastapi import APIRouter
|
|
|
|
from backend.app.task.api.v1.task import router as task_router
|
|
from backend.core.conf import settings
|
|
|
|
v1 = APIRouter(prefix=settings.FASTAPI_API_V1_PATH)
|
|
|
|
v1.include_router(task_router, prefix='/tasks', tags=['任务'])
|