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 self-assigned this 2026-04-02 18:45:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#1438
No description provided.