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:
sun04222 2026-10-24 10:21:15 +08:00
parent 383d8e2ab1
commit bf0be8b237

View file

@ -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