device.py 250 B

12345678910
  1. from app.crud.base import CRUDBase
  2. from app.models.devices.device import Device
  3. from app.schemas.device.device import DeviceCreate, DeviceUpdate
  4. class CRUDDevice(CRUDBase[Device, DeviceCreate, DeviceUpdate]):
  5. pass
  6. device = CRUDDevice(Device)