Skip to content

Remove dead extract_knowledge_for_text_batch_q function#259

Merged
gvanrossum merged 1 commit intomicrosoft:mainfrom
KRRT7:cleanup-dead-knowledge-fn
Apr 29, 2026
Merged

Remove dead extract_knowledge_for_text_batch_q function#259
gvanrossum merged 1 commit intomicrosoft:mainfrom
KRRT7:cleanup-dead-knowledge-fn

Conversation

@KRRT7
Copy link
Copy Markdown
Contributor

@KRRT7 KRRT7 commented Apr 29, 2026

Summary

  • Removes extract_knowledge_for_text_batch_q from knowledge.py — a stub that only raised NotImplementedError with no callers
  • Spotted during review of PR Separate batching from concurrency during ingestion #252 (bmerkle noted the concurrency=2 default inconsistency; turns out the function is dead code)

Test plan

  • All 679 tests passing

This function only raised NotImplementedError and was never called
anywhere in the codebase (confirmed by grep). No imports became
orphaned after removal.
@KRRT7 KRRT7 force-pushed the cleanup-dead-knowledge-fn branch from 9a3faeb to db84334 Compare April 29, 2026 07:38
@gvanrossum gvanrossum merged commit 4a9e47c into microsoft:main Apr 29, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants