You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrate IndexedRepository model to Pydantic v2 configuration #139
The IndexedRepository model in backend/app/models/database/supabase.py currently uses Pydantic v1-style configuration (Config.orm_mode = True), which will be ignored under Pydantic v2.
Required Changes
Replace the v1-style config with v2-style configuration:
# Add import at top of filefrompydanticimportConfigDict# In IndexedRepository class, replace:classConfig:
orm_mode=True# With:model_config=ConfigDict(from_attributes=True)
Additional Scope
Review all other models in the same file and across the codebase for similar v1-style configurations that need migration.
Context
This issue was identified during the review of PR #138.
This issue, in fact, needs to address all warnings and dead code throughout the codebase while ensuring a robust system with minimal warnings—moreover, a cleanup issue.
Should include proper use of dotenv throughout too, as currently it's not very well organized (some files use os.getenv)
yepp @PinJinx, you can work on the issue.
Please ensure the above-mentioned request in the thread, there might be multiple warnings throughout the system even when using some specific handlers too. Please address them carefully.
Activity
smokeyScraper commentedon Oct 8, 2025
This issue, in fact, needs to address all warnings and dead code throughout the codebase while ensuring a robust system with minimal warnings—moreover, a cleanup issue.
Should include proper use of dotenv throughout too, as currently it's not very well organized (some files use os.getenv)
PinJinx commentedon Oct 9, 2025
Hi @smokeyScraper , Could i work on this issue?
smokeyScraper commentedon Oct 9, 2025
yepp @PinJinx, you can work on the issue.
Please ensure the above-mentioned request in the thread, there might be multiple warnings throughout the system even when using some specific handlers too. Please address them carefully.