mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
style(proxy): use str | None over Optional[str] in batch file helpers
Keep the UP045 strict-rule budget within its ceiling Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
f95de2c2ce
commit
ad2125cb25
1 changed files with 2 additions and 2 deletions
|
|
@ -968,7 +968,7 @@ async def ensure_batch_response_managed_file_ids(
|
|||
verbose_proxy_logger,
|
||||
user_api_key_dict=None,
|
||||
db_batch_object=None,
|
||||
unified_batch_id: Optional[str] = None,
|
||||
unified_batch_id: str | None = None,
|
||||
) -> None:
|
||||
"""Normalize batch file IDs to managed unified IDs before returning/persisting.
|
||||
|
||||
|
|
@ -997,7 +997,7 @@ async def _register_raw_batch_output_file_ids(
|
|||
managed_files_obj,
|
||||
requester_api_key_dict,
|
||||
db_batch_object,
|
||||
unified_batch_id: Optional[str],
|
||||
unified_batch_id: str | None,
|
||||
verbose_proxy_logger,
|
||||
) -> None:
|
||||
if managed_files_obj is None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue