def dump(cls, data):
"""
Returns the dumped model data structure of the raw model data.
"""
with tempfile.NamedTemporaryFile(mode='wb', prefix='jubakit-jubadump-') as f:
f.write(data)
f.flush()
return cls.dump_file(f.name)
评论列表
文章目录