mirror of
https://github.com/open-webui/docs.git
synced 2026-11-05 01:38:13 +00:00
[PR #503] [MERGED] feat: Enhance scan-missing-env-vars.py to detect defaults, types, and categorize output #583
Labels
No labels
bug
documentation
documentation
duplicate
enhancement
enhancement
good first issue
good first issue
good first issue
help wanted
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/docs#583
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/docs/pull/503
Author: @silentoplayz
Created: 4/16/2025
Status: ✅ Merged
Merged: 4/19/2025
Merged by: @tjbck
Base:
main← Head:main📝 Commits (5)
7645989Update env-configuration.md2ca78ceUpdate scan-missing-env-vars.py3598ee5Update env-configuration.md668e48bUpdate env-configuration.md6f0f7fdUpdate env-configuration.md📊 Changes
2 files changed (+209 additions, -41 deletions)
View changed files
📝
docs/getting-started/env-configuration.md(+19 -21)📝
scripts/scan-missing-env-vars.py(+190 -20)📄 Description
Pull Request Checklist
Changelog Entry
Description
scan-missing-env-vars.pyscript to provide more detailed information about environment variable usage in the codebase. The script now detects default values, infers variable types, and categorizes undocumented variables for better analysis of environment variable configurations.Added
os.getenv,os.environ.get, andPersistentConfig.PersistentConfig.PersistentConfigvariables from other undocumented variables.Changed
find_env_varsfunction now returns a dictionary containing detailed context for each environment variable (files, default, type) instead of just a set of variable names.Fixed
Additional Information
PersistentConfigand those with default values and specific types.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.