mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
chore(proxy): mark the unused os.walk dirs name in the UI rewrite helper
Moving the loop into _apply_server_root_path_to_ui made dirs a function local, which basedpyright reports as reportUnusedVariable.
This commit is contained in:
parent
7f7111a2fa
commit
6f2c2b22b8
1 changed files with 1 additions and 1 deletions
|
|
@ -2380,7 +2380,7 @@ try:
|
|||
)
|
||||
|
||||
def _apply_server_root_path_to_ui(ui_dir: str, server_root_path: str) -> None:
|
||||
for root, dirs, files in os.walk(ui_dir):
|
||||
for root, _dirs, files in os.walk(ui_dir):
|
||||
for filename in files:
|
||||
file_path = os.path.join(root, filename)
|
||||
# Skip binary files and files that don't need path replacement
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue