From 60845fce4859ff2cfc52bb3f531664ba9765a9e5 Mon Sep 17 00:00:00 2001 From: derrod Date: Sat, 9 May 2020 11:00:41 +0200 Subject: [PATCH] [models] JSON manifest do not support serialization --- legendary/models/json_manifest.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legendary/models/json_manifest.py b/legendary/models/json_manifest.py index d6ef316..c626063 100644 --- a/legendary/models/json_manifest.py +++ b/legendary/models/json_manifest.py @@ -73,6 +73,9 @@ class JSONManifest(Manifest): return _manifest + def write(self, *args, **kwargs): + raise NotImplementedError('Serializing JSON manifests is not supported') + class JSONManifestMeta(ManifestMeta): def __init__(self):