Skip to content

Refactor class names to use TMO prefix for brevity#4

Merged
inntran merged 2 commits into
developfrom
feature/refactor-naming
Nov 6, 2025
Merged

Refactor class names to use TMO prefix for brevity#4
inntran merged 2 commits into
developfrom
feature/refactor-naming

Conversation

@inntran
Copy link
Copy Markdown
Owner

@inntran inntran commented Nov 6, 2025

Renamed Classes:

  • TheMortgageOfficeClient → TMOClient
  • TheMortgageOfficeError → TMOException

Changes:

  • Updated client class name in src/tmo_api/client.py
  • Updated exception base class in src/tmo_api/exceptions.py
  • Updated all imports in src/tmo_api/init.py
  • Updated all TYPE_CHECKING imports in resources
  • Updated all test files to use new names
  • All 111 tests passing with 92% coverage

Benefits:

  • Shorter, more convenient class names
  • Follows common SDK naming conventions (AWS, Stripe, etc.)
  • Maintains full functionality and API compatibility
  • TMO clearly identifies the SDK while being concise

🤖 Generated with Claude Code

inntran and others added 2 commits November 6, 2025 13:10
Renamed Classes:
- TheMortgageOfficeClient → TMOClient
- TheMortgageOfficeError → TMOException

Changes:
- Updated client class name in src/tmo_api/client.py
- Updated exception base class in src/tmo_api/exceptions.py
- Updated all imports in src/tmo_api/__init__.py
- Updated all TYPE_CHECKING imports in resources
- Updated all test files to use new names
- All 111 tests passing with 92% coverage

Benefits:
- Shorter, more convenient class names
- Follows common SDK naming conventions (AWS, Stripe, etc.)
- Maintains full functionality and API compatibility
- TMO clearly identifies the SDK while being concise

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@inntran inntran merged commit edca0ed into develop Nov 6, 2025
7 checks passed
@inntran inntran deleted the feature/refactor-naming branch November 6, 2025 18:14
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.

1 participant