mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
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:
parent
5226401644
commit
abaaf8b210
1 changed files with 1 additions and 1 deletions
|
|
@ -3018,7 +3018,7 @@ class ProxyBaseLLMRequestProcessing:
|
|||
|
||||
@staticmethod
|
||||
def _flush_deferred_async_logging(
|
||||
logging_obj: LiteLLMLoggingObj,
|
||||
logging_obj: Any,
|
||||
exception_raised: bool,
|
||||
) -> None:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue