fixing bug

This commit is contained in:
Cayo Puigdefabregas 2020-11-23 15:53:56 +01:00
parent 78c1f13260
commit 3e8eb03b58

View file

@ -65,6 +65,7 @@ class Device(Thing):
variant = SanitizedStr(description=m.Device.variant.comment) variant = SanitizedStr(description=m.Device.variant.comment)
sku = SanitizedStr(description=m.Device.sku.comment) sku = SanitizedStr(description=m.Device.sku.comment)
image = URL(description=m.Device.image.comment) image = URL(description=m.Device.image.comment)
allocated = Boolean(description=m.Device.allocated.comment)
@pre_load @pre_load
def from_actions_to_actions_one(self, data: dict): def from_actions_to_actions_one(self, data: dict):