mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-21 05:01:07 -05:00
Remove FrozenEncoder
This commit is contained in:
parent
8133cdcc88
commit
58168498b0
@ -46,11 +46,3 @@ def unfreeze(o):
|
||||
pass
|
||||
|
||||
return o
|
||||
|
||||
|
||||
class FrozenEncoder(json.JSONEncoder):
|
||||
def default(self, o):
|
||||
if isinstance(o, frozendict):
|
||||
return dict(o)
|
||||
|
||||
return json.JSONEncoder(self, o)
|
||||
|
Loading…
Reference in New Issue
Block a user