Skip to content

CodeFilePath

Source code in docs_src/capo_inspector2/types/code_file_path.py
class CodeFilePath(TypedDict, closed=True):
    file_name: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The name of the file the code vulnerability was found in.</p>"""
    file_path: "capo_inspector2.types.non_empty_string.NonEmptyString"
    """<p>The file path to the code that a vulnerability was found in.</p>"""
    start_line: "int"
    """<p>The line number of the first line of code that a vulnerability was found in.</p>"""
    end_line: "int"
    """<p>The line number of the last line of code that a vulnerability was found in.</p>"""

end_line instance-attribute

end_line: int

The line number of the last line of code that a vulnerability was found in.

file_name instance-attribute

file_name: NonEmptyString

The name of the file the code vulnerability was found in.

file_path instance-attribute

file_path: NonEmptyString

The file path to the code that a vulnerability was found in.

start_line instance-attribute

start_line: int

The line number of the first line of code that a vulnerability was found in.