open-webui/backend/open_webui/routers
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
..
analytics.py refac 2026-06-29 01:38:41 -05:00
audio.py refac 2026-07-27 19:39:36 -04:00
auths.py refac 2026-07-27 04:46:12 -04:00
automations.py refac 2026-07-26 19:34:41 -04:00
calendar.py refac 2026-06-29 13:03:14 -05:00
channels.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
chats.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
configs.py fix: resolve MCP OAuth authorize_url discovery and fail clearly (#26647) (#26654) 2026-07-27 02:15:28 -04:00
evaluations.py refac 2026-07-24 02:36:10 -04:00
files.py refac 2026-07-27 03:32:21 -04:00
folders.py chore: format 2026-07-27 04:38:46 -04:00
functions.py refac 2026-07-26 19:10:41 -04:00
groups.py refac 2026-06-29 05:47:21 -05:00
images.py refac 2026-07-23 21:29:33 -04:00
knowledge.py fix: scope knowledge sync cleanup deletions to the target knowledge base (#26722) 2026-07-27 02:18:38 -04:00
memories.py refac 2026-07-27 01:59:17 -04:00
models.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
notes.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
notifications.py refac 2026-07-27 19:39:36 -04:00
ollama.py refac 2026-07-27 04:17:00 -04:00
openai.py refac 2026-07-27 19:39:36 -04:00
pipelines.py refac 2026-07-23 21:29:33 -04:00
prompts.py refac 2026-06-29 13:03:14 -05:00
retrieval.py chore: remove dead json imports (#27815) 2026-07-31 17:25:40 -04:00
scim.py refac 2026-06-25 03:31:45 +01:00
skills.py refac 2026-07-17 04:11:11 -04:00
tasks.py refac 2026-07-16 21:57:43 -04:00
terminals.py refac 2026-07-27 03:41:08 -04:00
tools.py fix: do not expose tool source code to read-only users (#27005) 2026-07-27 01:51:01 -04:00
users.py refac 2026-07-27 03:54:27 -04:00
utils.py refac 2026-06-17 02:52:35 +02:00