Skip to content

CodeLine

Source code in docs_src/capo_inspector2/types/code_line.py
class CodeLine(TypedDict, closed=True):
    content: "str"
    """<p>The content of a line of code</p>"""
    line_number: "int"
    """<p>The line number that a section of code is located at.</p>"""

content instance-attribute

content: str

The content of a line of code

line_number instance-attribute

line_number: int

The line number that a section of code is located at.