Skip to content

search.py: _entry_matches call sites typed BaseTranscriptEntry vs TranscriptEntry union (6 pyright errors) #32

Description

@coryking

Pyright reports 6 reportArgumentType errors in project-mining/src/cc_explorer/search.py (lines ~726, 775, 842, 852, 902, 910): load_transcript yields BaseTranscriptEntry but _entry_matches/match models take the TranscriptEntry union. Pre-existing on main (surfaced when the file was touched in PR #30). The type is wrong at the source — the parser's return type or the union should be reconciled rather than casting at call sites.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cc-explorerMCP server and typed JSONL toolkittech-debtCode quality, architecture smells, internal cleanup

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions