From 42901052caca1ae9c95c0cb21d177ab8f26bcc62 Mon Sep 17 00:00:00 2001
From: vermeul <swen@ethz.ch>
Date: Thu, 8 Aug 2019 17:41:35 +0200
Subject: [PATCH] handle boolean values as any other

---
 pybis/src/python/pybis/attribute.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/pybis/src/python/pybis/attribute.py b/pybis/src/python/pybis/attribute.py
index 4390cadf05e..7beb0b22a11 100644
--- a/pybis/src/python/pybis/attribute.py
+++ b/pybis/src/python/pybis/attribute.py
@@ -268,7 +268,11 @@ class AttrHolder():
                     if value is None:
                         pass
                     elif isinstance(value, bool):
-                        pass
+                        up_obj[attr] = {
+                            "value": value,
+                            "isModified": True,
+                            "@type": "as.dto.common.update.FieldUpdateValue"
+                        }
                     elif isinstance(value, dict) and len(value) == 0:
                         # value is {}: it means that we want this attribute to be
                         # deleted, not updated.
-- 
GitLab