You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/lz/code/git/invest/2020-08-05-options/.env-new/lib/python3.8/site-packages/tornado/web.py", line 1703, in _execute
result = await result
File "/home/lz/code/git/invest/2020-08-05-options/.env-new/lib/python3.8/site-packages/jupyter_tabnine/handler.py", line 14, in get
self.write(response)
File "/home/lz/code/git/invest/2020-08-05-options/.env-new/lib/python3.8/site-packages/tornado/web.py", line 834, in write
raise TypeError(message)
TypeError: write() only accepts bytes, unicode, and dict objects
If I understand correctly, the following code tries to call self.write(json_object):
If I understand correctly, the following code tries to call
self.write(json_object)
:However, not all JSON objects are supported by Tornado.RequestHandler.write, and tabnine may return
NULL
according to its documentation, in which case the code will error out.Possible fix:
The text was updated successfully, but these errors were encountered: