Fix leaked anyio streams in streamable_http (#1991)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
This commit is contained in:
parent
99edde1125
commit
f049c8e5c6
1 changed files with 159 additions and 141 deletions
|
|
@ -9,7 +9,7 @@ maintainers = [
|
|||
{ name = "David Soria Parra", email = "davidsp@anthropic.com" },
|
||||
{ name = "Marcelo Trylesinski", email = "marcelotryle@gmail.com" },
|
||||
{ name = "Max Isbey", email = "maxisbey@anthropic.com" },
|
||||
{ name = "Felix Weinberger", email = "fweinberger@anthropic.com" }
|
||||
{ name = "Felix Weinberger", email = "fweinberger@anthropic.com" },
|
||||
]
|
||||
keywords = ["git", "mcp", "llm", "automation"]
|
||||
license = { text = "MIT" }
|
||||
|
|
@ -32,7 +32,7 @@ dependencies = [
|
|||
"starlette>=0.48.0; python_version >= '3.14'",
|
||||
"starlette>=0.27; python_version < '3.14'",
|
||||
"python-multipart>=0.0.9",
|
||||
"sse-starlette>=1.6.1",
|
||||
"sse-starlette>=3.0.0",
|
||||
"pydantic-settings>=2.5.2",
|
||||
"uvicorn>=0.31.1; sys_platform != 'emscripten'",
|
||||
"jsonschema>=4.20.0",
|
||||
|
|
@ -136,11 +136,10 @@ select = [
|
|||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"PERF", # Perflint
|
||||
"PL", # Pylint
|
||||
"UP", # pyupgrade
|
||||
"TID251", # https://docs.astral.sh/ruff/rules/banned-api/
|
||||
]
|
||||
ignore = ["PERF203", "PLC0415", "PLR0402"]
|
||||
ignore = ["PERF203"]
|
||||
|
||||
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
||||
"pydantic.RootModel".msg = "Use `pydantic.TypeAdapter` instead."
|
||||
|
|
|
|||
Loading…
Reference in a new issue