From 01c0d14396a256b4b4e1b4711fd5f99d3d516fea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominic=20K=C3=B6nig?= Date: Mon, 9 Sep 2013 14:59:29 +0200 Subject: [PATCH] Add 'set' to serializable types in Query.as_dict --- gluon/dal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/dal.py b/gluon/dal.py index 58c00660..b189167d 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -9804,7 +9804,7 @@ class Query(object): "second":0} """ - SERIALIZABLE_TYPES = (tuple, dict, list, int, long, float, + SERIALIZABLE_TYPES = (tuple, dict, set, list, int, long, float, basestring, type(None), bool) def loop(d): newd = dict()