Skip to content

FindingLocation

Source code in docs_src/capo_continuum/types/finding_location.py
class FindingLocation(TypedDict, closed=True):
    file_path: NotRequired["capo_continuum.types.finding_file_path.FindingFilePath"]
    """Repository-relative path."""
    start_line: NotRequired["int"]
    """1-indexed first line of the affected range."""
    end_line: NotRequired["int"]
    """1-indexed last line, when the producer reported a range."""

end_line instance-attribute

end_line: NotRequired[int]

1-indexed last line, when the producer reported a range.

file_path instance-attribute

file_path: NotRequired[FindingFilePath]

Repository-relative path.

start_line instance-attribute

start_line: NotRequired[int]

1-indexed first line of the affected range.