mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
fix(generic_api): ruff-format the restored failed_events annotation
The annotation restore left the line in a form `ruff format --check` wants to reformat (CI exit 123). Applying ruff format; no semantic change.
This commit is contained in:
parent
383d8e2ab1
commit
bf0be8b237
1 changed files with 3 additions and 1 deletions
|
|
@ -376,7 +376,9 @@ class GenericAPILogger(CustomBatchLogger):
|
|||
batch: Final = tuple(self.log_queue)
|
||||
if not batch:
|
||||
return
|
||||
failed_events: Final[list[Mapping[str, object] | StandardLoggingPayload]] = [] # mutable-ok: filled while the send runs and drained into the queue in finally
|
||||
failed_events: Final[
|
||||
list[Mapping[str, object] | StandardLoggingPayload]
|
||||
] = [] # mutable-ok: filled while the send runs and drained into the queue in finally
|
||||
try:
|
||||
verbose_logger.debug(
|
||||
"Generic API Logger - about to flush %s events in '%s' format", len(batch), self.log_format
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue