Verified Commit d1c61d3b authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Use NotImplementedError

parent c794afa4
......@@ -4,7 +4,7 @@ import json
class _JsonSerializable(object):
@property
def data(self) -> object:
return 'not implemented'
raise NotImplementedError
def json(self) -> str:
return json.dumps(self.data)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment