Merge pull request #206 from nursix/master
Add 'set' to serializable types in Query.as_dict
This commit is contained in:
+1
-1
@@ -9804,7 +9804,7 @@ class Query(object):
|
|||||||
"second":0}
|
"second":0}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
SERIALIZABLE_TYPES = (tuple, dict, list, int, long, float,
|
SERIALIZABLE_TYPES = (tuple, dict, set, list, int, long, float,
|
||||||
basestring, type(None), bool)
|
basestring, type(None), bool)
|
||||||
def loop(d):
|
def loop(d):
|
||||||
newd = dict()
|
newd = dict()
|
||||||
|
|||||||
Reference in New Issue
Block a user