mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Add return type hint to forward_headers_from_request method (#23693)
- Added missing Dict return type annotation to improve type safety - Enhances IDE autocomplete and static type checking - No functional changes, purely type annotation improvement Co-authored-by: Vivek Vardhan <vivekvar.dl@gmail.com>
This commit is contained in:
parent
2ae5999319
commit
afb6fbefdc
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ class BasePassthroughUtils:
|
|||
request_headers: dict,
|
||||
headers: dict,
|
||||
forward_headers: Optional[bool] = False,
|
||||
):
|
||||
) -> dict:
|
||||
"""
|
||||
Helper to forward headers from original request.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue