16 lines
401 B
Python
16 lines
401 B
Python
from typing import Callable, Iterable, Tuple
|
|
from ereuse_devicehub.resources.action import schemas
|
|
from teal.resource import Resource
|
|
from ereuse_devicehub.resources.allocate.views import AllocateView, DeAllocateView
|
|
|
|
|
|
class AssignedDef(Resource):
|
|
VIEW = AllocateView
|
|
SCHEMA = schemas.Allocate
|
|
|
|
|
|
# class EndAssignedDef(Resource):
|
|
# VIEW = DeAllocateView
|
|
# SCHEMA = schemas.DeAllocate
|
|
|