mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
Add utils module docstring
Co-authored-by: ishaan-berri <ishaan-berri@users.noreply.github.com>
This commit is contained in:
parent
fdaa288607
commit
b631863b13
2 changed files with 13 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
"""Utility helpers for LiteLLM core request handling and provider support."""
|
||||
|
||||
# from __future__ import annotations must be the first non-comment statement
|
||||
from __future__ import annotations
|
||||
|
||||
|
|
|
|||
11
tests/test_litellm/test_utils_module_docstring.py
Normal file
11
tests/test_litellm/test_utils_module_docstring.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import ast
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test_utils_module_has_docstring():
|
||||
utils_path = Path(__file__).parents[2] / "litellm" / "utils.py"
|
||||
module = ast.parse(utils_path.read_text())
|
||||
|
||||
assert ast.get_docstring(module) == (
|
||||
"Utility helpers for LiteLLM core request handling and provider support."
|
||||
)
|
||||
Loading…
Add table
Reference in a new issue