云引擎报这个错,哪位指导下
Traceback (most recent call last):
STDERR web1 19:51:40
File "/usr/share/pyenv/versions/3.7.3/lib/python3.7/site-packages/leancloud/engine/leanengine.py", line 146, in dispatch_request
STDERR web1 19:51:40
return Response(json.dumps(result), mimetype='application/json')
STDERR web1 19:51:40
File "/usr/share/pyenv/versions/3.7.3/lib/python3.7/json/__init__.py", line 231, in dumps
STDERR web1 19:51:40
return defaultencoder.encode(obj)
STDERR web1 19:51:40
File "/usr/share/pyenv/versions/3.7.3/lib/python3.7/json/encoder.py", line 199, in encode
STDERR web1 19:51:40
chunks = self.iterencode(o, oneshot=True)
STDERR web1 19:51:40
File "/usr/share/pyenv/versions/3.7.3/lib/python3.7/json/encoder.py", line 257, in iterencode
STDERR web1 19:51:40
return _iterencode(o, 0)
STDERR web1 19:51:40
File "/usr/share/pyenv/versions/3.7.3/lib/python3.7/json/encoder.py", line 179, in default
STDERR web1 19:51:40
raise TypeError(f'Object of type {o.class.name} '
STDERR web1 19:51:40
TypeError: Object of type Post is not JSON serializable