open-webui/backend/open_webui/models
Classic298 6be11d4fc9
chore: remove dead json imports (#27815)
Fourteen modules import `json` without using it. Ruff flags every one with F401, and a word-boundary search for `json` in each file matches only the import line itself, including inside strings, comments and annotations.

Two exclusions, both deliberate. Migration files are left alone: the import is equally dead there, but those files are frozen history and not worth the churn. `models/chats.py` has the same dead import and is handled in its own change, so it is skipped here to avoid two changes touching the same line.

No behaviour change.
2026-07-31 17:25:40 -04:00
..
access_grants.py chore: format 2026-07-27 00:12:47 -04:00
auths.py refac 2026-07-27 04:50:07 -04:00
automations.py refac 2026-07-26 19:34:41 -04:00
calendar.py refac 2026-07-27 02:44:21 -04:00
channels.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
chat_messages.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
chats.py chore: format 2026-07-27 04:38:46 -04:00
config.py refac 2026-07-26 18:46:39 -04:00
feedbacks.py perf: drop redundant session.refresh calls after commit across the model layer (#27381) 2026-07-23 18:08:00 -05:00
files.py perf: drop redundant session.refresh calls after commit across the model layer (#27381) 2026-07-23 18:08:00 -05:00
folders.py refac 2026-07-26 19:34:41 -04:00
functions.py fix: prevent startup crash when function/tool has null user_id (#26850) 2026-07-24 00:00:37 -05:00
groups.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
knowledge.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
memories.py refac 2026-07-24 01:54:36 -04:00
messages.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
models.py refac 2026-07-27 04:05:51 -04:00
notes.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
oauth_sessions.py perf: drop redundant session.refresh calls after commit across the model layer (#27381) 2026-07-23 18:08:00 -05:00
prompt_history.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
prompts.py refac 2026-07-27 02:44:21 -04:00
shared_chats.py feat(ui): add 'Unshare All Shared Chats' button to Shared Chats modal (#25848) 2026-06-17 03:06:41 +02:00
skills.py refac 2026-07-27 02:44:21 -04:00
tags.py perf: drop redundant session.refresh calls after commit across the model layer (#27381) 2026-07-23 18:08:00 -05:00
tools.py refac 2026-07-27 02:44:21 -04:00
users.py refac 2026-07-24 01:44:30 -04:00