Closed
Description
Debug adapter definition and debug configuration
No response
Debug adapter version
No response
Steps to Reproduce
Open DAP repl in python project
Expected Result
Was attempting to run this python code in the repl
with tf.io.gfile.GFile(filename, 'rb+') as f:
cctx = zstandard.ZstdDecompressor()
reader_stream = io.BufferedReader(cctx.stream_reader(f))
reader = jsonlines.Reader(reader_stream, loads=json_parser)
for item in reader:
result = dict()
if isinstance(item, str):
result['text'] = item
else:
text = item['text']
if isinstance(text, list):
text = self.para_joiner.join(text)
result['text'] = text
yield result
Actual Result
After typing the first line, I can't find a way to insert further text without running line 1, which gives a syntax error.