MCPcopy
hub / github.com/satwikkansal/wtfpython / generate_code_block

Function generate_code_block

irrelevant/notebook_generator.py:57–66  ·  view source on GitHub ↗
(statements, output)

Source from the content-addressed store, hash-verified

55
56
57def generate_code_block(statements, output):
58 global sequence_num
59 result = {
60 "type": "code",
61 "sequence_num": sequence_num,
62 "statements": statements,
63 "output": output
64 }
65 sequence_num += 1
66 return result
67
68
69def generate_markdown_block(lines):

Callers 1

parse_example_partsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected