restructure: move backend into backend/
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"""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,
|
||||
)
|
||||
Reference in New Issue
Block a user