Refactor: Use repository pattern instead of raw SQL in cli/commands/project.py #1438

Open
opened 2026-04-02 17:56:20 +00:00 by freemo · 0 comments
Owner

The _store_project_extras function in src/cleveragents/cli/commands/project.py is using a raw SQL query to update the database. This is a code smell.

It would be better to use the repository pattern to update the database. This would make the code more maintainable and less prone to errors.

The `_store_project_extras` function in `src/cleveragents/cli/commands/project.py` is using a raw SQL query to update the database. This is a code smell. It would be better to use the repository pattern to update the database. This would make the code more maintainable and less prone to errors.
freemo added the
State
Unverified
label 2026-04-02 18:17:18 +00:00
freemo self-assigned this 2026-04-02 18:45:10 +00:00
freemo added the
Priority
Backlog
label 2026-04-02 19:29:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#1438