This commit is contained in:
Adrian Tschira 2018-05-29 17:35:55 +02:00
parent 4ee4450d66
commit 7873cde526
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ import simplejson as json
from six import string_types
def freeze(o):
if isinstance(o, dict):
return frozendict({k: freeze(v) for k, v in o.items()})