We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ea94a commit 7a6627fCopy full SHA for 7a6627f
src/vectorcode/subcommands/query/__init__.py
@@ -114,8 +114,8 @@ async def build_query_results(
114
if meta[0].get("start") is not None and meta[0].get("end") is not None:
115
path = str(meta[0].get("path"))
116
with open(path) as fin:
117
- start: int = int(meta[0]["start"])
118
- end: int = int(meta[0]["end"])
+ start = int(meta[0]["start"]) # type:ignore
+ end = int(meta[0]["end"]) # type:ignore
119
full_result["chunk"] = "".join(fin.readlines()[start : end + 1])
120
full_result["start_line"] = start
121
full_result["end_line"] = end
0 commit comments