You've already forked DataMate
refactor: Reorganize datamate-python (#34)
refactor: Reorganize datamate-python (previously label-studio-adapter) into a DDD style structure.
This commit is contained in:
11
runtime/datamate-python/app/module/__init__.py
Normal file
11
runtime/datamate-python/app/module/__init__.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
from .annotation.interface import router as annotation_router
|
||||
|
||||
router = APIRouter(
|
||||
prefix="/api"
|
||||
)
|
||||
|
||||
router.include_router(annotation_router)
|
||||
|
||||
__all__ = ["router"]
|
||||
Reference in New Issue
Block a user