fix(proxy): leave the deferred-logging flush parameter untyped

Typing logging_obj as the concrete Logging class makes basedpyright see the
_enqueue_deferred_logging reset as a protected access from outside the class,
pushing reportPrivateUsage one over the tree-wide budget. The tests pin that
attribute on a mock, so the reset has to stay a direct write on the passed
object. Restore the parameter annotation this file already had.
This commit is contained in:
mateo-berri 2026-08-27 11:18:01 +00:00
parent 5226401644
commit abaaf8b210

View file

@ -3018,7 +3018,7 @@ class ProxyBaseLLMRequestProcessing:
@staticmethod
def _flush_deferred_async_logging(
logging_obj: LiteLLMLoggingObj,
logging_obj: Any,
exception_raised: bool,
) -> None:
"""