from fastapi import APIRouter

from src.dependency.manager import Manager
from src.model.group import GroupData

router = APIRouter(prefix="/api/v1/swaddle")
manager = Manager.GROUPED_DATA_MANAGER


@router.get(
    "/group", tags=["Group"],
    summary="Status of Group",
    response_model=GroupData
)
async def status(group: str):
    return manager.get_by_id(group)

c257b5089eeb6ea000fa5653368078324eed0b76
<mask token>

<mask token>


@router.get('/group', tags=['Group'], summary='Status of Group',
    response_model=GroupData)
async def status(group: str):
    return manager.get_by_id(group)

<mask token>
router = APIRouter(prefix='/api/v1/swaddle')
manager = Manager.GROUPED_DATA_MANAGER


@router.get('/group', tags=['Group'], summary='Status of Group',
    response_model=GroupData)
async def status(group: str):
    return manager.get_by_id(group)

from fastapi import APIRouter
from src.dependency.manager import Manager
from src.model.group import GroupData
router = APIRouter(prefix='/api/v1/swaddle')
manager = Manager.GROUPED_DATA_MANAGER


@router.get('/group', tags=['Group'], summary='Status of Group',
    response_model=GroupData)
async def status(group: str):
    return manager.get_by_id(group)

from fastapi import APIRouter

from src.dependency.manager import Manager
from src.model.group import GroupData

router = APIRouter(prefix="/api/v1/swaddle")
manager = Manager.GROUPED_DATA_MANAGER


@router.get(
    "/group", tags=["Group"],
    summary="Status of Group",
    response_model=GroupData
)
async def status(group: str):
    return manager.get_by_id(group)
