We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b01ca commit b7f5a2dCopy full SHA for b7f5a2d
frontera/contrib/backends/remote/codecs/json.py
@@ -43,8 +43,8 @@ def _convert_from_saved_type(obj):
43
the second value to be the converted value. It applies the original type
44
recursively on the object to retrieve the original form of the object.
45
"""
46
- obj_type = obj[0]
47
- obj_value = obj[1]
+ assert len(obj) == 2
+ obj_type, obj_value = obj
48
if obj_type == 'bytes':
49
return to_bytes(obj_value)
50
elif obj_type == 'dict':
0 commit comments