fix black formatting

Made-with: Cursor
This commit is contained in:
Ryan Crabbe
2026-03-20 17:35:35 -07:00
parent 9c47d50f74
commit ae21527aea
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -178,9 +178,7 @@ class CustomLogger: # https://docs.litellm.ai/docs/observability/custom_callbac
async def async_log_failure_event(self, kwargs, response_obj, start_time, end_time):
pass
async def async_log_audit_log_event(
self, audit_log: "StandardAuditLogPayload"
):
async def async_log_audit_log_event(self, audit_log: "StandardAuditLogPayload"):
"""Called when an audit log is created. Override in subclasses to handle."""
pass
@@ -101,9 +101,7 @@ async def _dispatch_audit_log_to_callbacks(
continue
if isinstance(resolved, CustomLogger):
task = asyncio.create_task(
resolved.async_log_audit_log_event(payload)
)
task = asyncio.create_task(resolved.async_log_audit_log_event(payload))
task.add_done_callback(_audit_log_task_done_callback)
except Exception as e:
verbose_proxy_logger.error(