mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-10-10 03:14:15 +00:00
10 lines
225 B
Python
10 lines
225 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
|
|
|
|
v1 = APIRouter()
|
|
|
|
v1.include_router(task_router, prefix='/tasks', tags=['任务'])
|