mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
style: name the pyright rule on the reference-pixel stamp suppression
This commit is contained in:
parent
ef0a49971a
commit
9262eb732a
1 changed files with 2 additions and 1 deletions
|
|
@ -385,7 +385,8 @@ def _collect_ws_project_quota_callbacks() -> tuple[ProjectQuotaCallback, ...]:
|
|||
|
||||
def _with_reference_pixels(response: ImageResponse, reference_pixels: int | None) -> ImageResponse:
|
||||
if reference_pixels is not None:
|
||||
response._reference_pixels = reference_pixels # mutable-ok: stamp the measured reference pixels
|
||||
# mutable-ok: handler stamps this billing field
|
||||
response._reference_pixels = reference_pixels # pyright: ignore[reportPrivateUsage] # billing stamp
|
||||
return response
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue