Skip to content

Remove code duplication across CLI modules#27

Merged
alexkroman merged 4 commits into
mainfrom
claude/remove-code-duplication-0h3oG
Jun 6, 2026
Merged

Remove code duplication across CLI modules#27
alexkroman merged 4 commits into
mainfrom
claude/remove-code-duplication-0h3oG

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator
  • config_builder: extract _load_json_object (config-file/custom-spelling
    loaders) and _construct (transcription/streaming config builders)
  • auth/ams: extract _scalar_params shared by list_streaming/list_audit_logs
  • context/login: extract persist_browser_login, used by both the login
    command and the auto-login path
  • audit: drop redundant __-separated action-label variants already handled
    by _normalize_action
  • llm.run_chain_steps: collapse the transcript_id/transcript_text branches
    into one transform_transcript call

claude and others added 4 commits June 6, 2026 20:16
- config_builder: extract _load_json_object (config-file/custom-spelling
  loaders) and _construct (transcription/streaming config builders)
- auth/ams: extract _scalar_params shared by list_streaming/list_audit_logs
- context/login: extract persist_browser_login, used by both the login
  command and the auto-login path
- audit: drop redundant __-separated action-label variants already handled
  by _normalize_action
- llm.run_chain_steps: collapse the transcript_id/transcript_text branches
  into one transform_transcript call
The Python floor moved to 3.12 (PR #26), so ruff's UP047 now requires the
inline generic syntax instead of a module-level TypeVar.
@alexkroman alexkroman merged commit 285e40d into main Jun 6, 2026
10 checks passed
@alexkroman alexkroman deleted the claude/remove-code-duplication-0h3oG branch June 6, 2026 21:06
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