mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 05:02:49 +00: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, tags=['任务'])
|
|
|
|
v1.include_router(task_router, prefix='/tasks')
|