Skip to content

Conversation

@sermetege
Copy link

Summary

  • Replace Item.model_validate() with Item(**item_data, owner_id=...) for item creation
  • Replace item.sqlmodel_update() with manual field updates using setattr() for item updates
  • Remove SQLModel dependencies while maintaining same functionality

Test plan

  • Verify item creation works correctly
  • Verify item updates work correctly
  • Run existing tests to ensure no regressions

🤖 Generated with Claude Code

sermetege and others added 2 commits October 23, 2025 02:22
- Migrated from SQLModel to pure SQLAlchemy ORM with declarative base
- Separated ORM models from Pydantic schemas for better type safety
- Updated all CRUD operations to use SQLAlchemy session patterns
- Fixed query execution patterns (.exec() → .execute() with scalar methods)
- Updated all Alembic migrations to remove SQLModel dependencies
- Updated all test files to use SQLAlchemy patterns
- Added httptools>=0.6.0 for Python 3.13 compatibility
- Maintained API compatibility with existing endpoints

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

Co-Authored-By: Claude <[email protected]>
- Replace Item.model_validate() with Item(**item_data, owner_id=...)
- Replace item.sqlmodel_update() with manual field updates using setattr()
- Maintain same functionality while removing SQLModel dependencies

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

Co-Authored-By: Claude <[email protected]>
@github-actions github-actions bot added the conflicts Automatically generated when a PR has a merge conflict label Oct 23, 2025
@github-actions
Copy link
Contributor

This pull request has a merge conflict that needs to be resolved.

@alejsdev
Copy link
Member

Hello @sermetege.

Thanks for your interest in contributing, but we don’t have any plans to replace SQLModel with SQLAlchemy, and the current changes break the test suite, so I'll close this PR.
Thank you. ☕

@alejsdev alejsdev closed this Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflicts Automatically generated when a PR has a merge conflict

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants