We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18788bf commit fe07099Copy full SHA for fe07099
1 file changed
rethinkdb/ast.py
@@ -705,9 +705,9 @@ class ReQLDecoder(py_json.JSONDecoder):
705
'''
706
Default JSONDecoder subclass to handle pseudo-type conversion.
707
708
- def __init__(self, reql_format_opts={}):
+ def __init__(self, reql_format_opts=None):
709
py_json.JSONDecoder.__init__(self, object_hook=self.convert_pseudotype)
710
- self.reql_format_opts = reql_format_opts
+ self.reql_format_opts = reql_format_opts or {}
711
712
def convert_time(self, obj):
713
if 'epoch_time' not in obj:
0 commit comments