From 3e8eb03b58bc1f0d6b82e2edb281a5c201039316 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 23 Nov 2020 15:53:56 +0100 Subject: [PATCH] fixing bug --- ereuse_devicehub/resources/device/schemas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ereuse_devicehub/resources/device/schemas.py b/ereuse_devicehub/resources/device/schemas.py index cd86a671..d3671c1b 100644 --- a/ereuse_devicehub/resources/device/schemas.py +++ b/ereuse_devicehub/resources/device/schemas.py @@ -65,6 +65,7 @@ class Device(Thing): variant = SanitizedStr(description=m.Device.variant.comment) sku = SanitizedStr(description=m.Device.sku.comment) image = URL(description=m.Device.image.comment) + allocated = Boolean(description=m.Device.allocated.comment) @pre_load def from_actions_to_actions_one(self, data: dict):