Files

18 lines
613 B
Python

"""radgroupreply — raw group reply attributes (all attributes, not just VLAN).
The VLAN-specific abstraction lives in ``routers/vlan.py`` (``/vlan``); this router
stays as generic CRUD over the raw table for any other reply attributes.
"""
from ..models import RadGroupReply
from ..schemas import GroupAttrCreate, GroupAttrOut, GroupAttrUpdate
from ._attr_factory import build_group_attr_router
router = build_group_attr_router(
model=RadGroupReply,
prefix="/radgroupreply",
tag="radgroupreply",
out_schema=GroupAttrOut,
create_schema=GroupAttrCreate,
update_schema=GroupAttrUpdate,
)