Skip to content

Commit 52bd25e

Browse files
committed
docs: add TODO comments for Python 3.9 compatibility code
- Add TODO for zip strict parameter - Add TODO for eval-type-backport dependency
1 parent aa7f568 commit 52bd25e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies = [
2626
"bm25s>=0.2.2",
2727
"numpy>=1.24.0",
2828
"typing-extensions>=4.0.0",
29-
"eval-type-backport; python_version<'3.10'",
29+
"eval-type-backport; python_version<'3.10'", # TODO: Remove when Python 3.9 support is dropped
3030
]
3131

3232
[project.scripts]

stackone_ai/meta_tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def search(self, query: str, limit: int = 5, min_score: float = 0.0) -> list[Met
8282

8383
# Process results
8484
search_results = []
85+
# TODO: Add strict=False when Python 3.9 support is dropped
8586
for idx, score in zip(results[0], scores[0]):
8687
if score < min_score:
8788
continue

0 commit comments

Comments
 (0)