Skip to content

feat!: remove LeMUR support - #228

Merged
ccampbell-aai merged 2 commits into
masterfrom
ccampbell/remove-lemur
Aug 12, 2026
Merged

feat!: remove LeMUR support#228
ccampbell-aai merged 2 commits into
masterfrom
ccampbell/remove-lemur

Conversation

@ccampbell-aai

Copy link
Copy Markdown
Contributor

Summary

The LeMUR API has been shut down, so this removes the entire LeMUR surface from the SDK ahead of the major release:

  • assemblyai/lemur.py — the Lemur client module, deleted
  • assemblyai/types.pyLemurError and all 23 Lemur* request/response/model classes, plus the now-unused datetime and TYPE_CHECKING imports
  • assemblyai/api.py — the LeMUR endpoint constants and all six lemur_* HTTP helpers (including the assemblyai.api backwards-compat re-export of lemur_task)
  • assemblyai/__init__.py — the Lemur export and 15 type re-exports
  • prerecorded/v2 — the Transcript.lemur / TranscriptGroup.lemur properties; their delete_by_id annotations now reference the local Transcript class instead of types.Transcript
  • Sourcable — removed; this empty marker base class of Transcript/AsyncTranscript existed only to type LeMUR sources and was never exported
  • Tests/docstest_lemur.py, LeMUR factories, and README/CLAUDE.md mentions removed; the "Lemur" keyterm example string was renamed to "Universal" to keep the repo grep-clean

Test plan

  • grep -rniE 'lemur|sourcable' repo-wide → no hits
  • ruff 0.3.5 format --check + check (CI-pinned version) on changed files → clean
  • mypy 1.5.1 (CI-pinned) on changed files → clean
  • pytest tests/unit → 396 passed; only failures are pre-existing pyaudio-missing ones (test_extras.py ×2, test_imports.py ×1)

🤖 Generated with Claude Code

The LeMUR API has been shut down, so drop the entire surface for the
upcoming major release: the Lemur client and its types, the lemur_* HTTP
helpers, the Transcript/TranscriptGroup .lemur properties, and the
Sourcable marker base class (its only purpose was typing LeMUR sources).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ccampbell-aai
ccampbell-aai marked this pull request as ready for review August 12, 2026 20:39

@jhazenaai jhazenaai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems fine as long as e2e still working for what's left

@ccampbell-aai
ccampbell-aai merged commit 0cde78c into master Aug 12, 2026
7 checks passed
@ccampbell-aai
ccampbell-aai deleted the ccampbell/remove-lemur branch August 12, 2026 23:44
ccampbell-aai added a commit that referenced this pull request Aug 12, 2026
The 0.66.00 slot was taken by the LeMUR removal (#228) this branch is
now rebased onto.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

3 participants