def get(self, storage_box_id, render_format): """ Display storage box record. """ # pylint: disable=no-self-use storage_box = StorageBox.get(storage_box_id) print(render(storage_box, render_format))
def list(self, limit, offset, order_by, render_format): """ Display list of storage boxes. """ # pylint: disable=no-self-use storage_boxes = StorageBox.list(limit, offset, order_by) print(render(storage_boxes, render_format))