mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix(utils): suppress PLR0915 linter warning for __getattr__ function
The __getattr__ function intentionally has many statements to handle multiple lazy-loaded imports. Add noqa comment to suppress the warning.
This commit is contained in:
parent
35f65c9901
commit
2af7c943e4
1 changed files with 1 additions and 1 deletions
|
|
@ -8697,7 +8697,7 @@ def should_run_mock_completion(
|
|||
return False
|
||||
|
||||
|
||||
def __getattr__(name: str) -> Any:
|
||||
def __getattr__(name: str) -> Any: # noqa: PLR0915
|
||||
"""Lazy import handler for utils module"""
|
||||
_globals = _get_utils_globals()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue