Skip to content

Commit 0b6d49d

Browse files
committed
Fix mypy complaint:
Name "HTTP_413_CONTENT_TOO_LARGE" already defined (possibly by an import) [no-redef]
1 parent 025a3af commit 0b6d49d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/a2a/server/apps/jsonrpc/jsonrpc_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
# Starlette v0.48.0
7070
from starlette.status import HTTP_413_CONTENT_TOO_LARGE
7171
except ImportError:
72-
from starlette.status import (
72+
from starlette.status import ( # type: ignore[no-redef]
7373
HTTP_413_REQUEST_ENTITY_TOO_LARGE as HTTP_413_CONTENT_TOO_LARGE,
7474
)
7575

0 commit comments

Comments
 (0)