Spaces:
Running
Running
Merge pull request #298 from jlowin/mcp-171
Browse files- pyproject.toml +1 -1
- tests/server/test_openapi.py +2 -0
- uv.lock +0 -0
pyproject.toml
CHANGED
|
@@ -7,7 +7,7 @@ dependencies = [
|
|
| 7 |
"python-dotenv>=1.1.0",
|
| 8 |
"exceptiongroup>=1.2.2",
|
| 9 |
"httpx>=0.28.1",
|
| 10 |
-
"mcp>=1.
|
| 11 |
"openapi-pydantic>=0.5.1",
|
| 12 |
"rich>=13.9.4",
|
| 13 |
"typer>=0.15.2",
|
|
|
|
| 7 |
"python-dotenv>=1.1.0",
|
| 8 |
"exceptiongroup>=1.2.2",
|
| 9 |
"httpx>=0.28.1",
|
| 10 |
+
"mcp>=1.7.1,<2.0.0",
|
| 11 |
"openapi-pydantic>=0.5.1",
|
| 12 |
"rich>=13.9.4",
|
| 13 |
"typer>=0.15.2",
|
tests/server/test_openapi.py
CHANGED
|
@@ -195,6 +195,7 @@ class TestTools:
|
|
| 195 |
|
| 196 |
assert tools[0].model_dump() == dict(
|
| 197 |
name="create_user_users_post",
|
|
|
|
| 198 |
description=IsStr(regex=r"^Create a new user\..*$", regex_flags=re.DOTALL),
|
| 199 |
inputSchema={
|
| 200 |
"type": "object",
|
|
@@ -207,6 +208,7 @@ class TestTools:
|
|
| 207 |
)
|
| 208 |
assert tools[1].model_dump() == dict(
|
| 209 |
name="update_user_name_users__user_id__name_patch",
|
|
|
|
| 210 |
description=IsStr(
|
| 211 |
regex=r"^Update a user's name\..*$", regex_flags=re.DOTALL
|
| 212 |
),
|
|
|
|
| 195 |
|
| 196 |
assert tools[0].model_dump() == dict(
|
| 197 |
name="create_user_users_post",
|
| 198 |
+
annotations=None,
|
| 199 |
description=IsStr(regex=r"^Create a new user\..*$", regex_flags=re.DOTALL),
|
| 200 |
inputSchema={
|
| 201 |
"type": "object",
|
|
|
|
| 208 |
)
|
| 209 |
assert tools[1].model_dump() == dict(
|
| 210 |
name="update_user_name_users__user_id__name_patch",
|
| 211 |
+
annotations=None,
|
| 212 |
description=IsStr(
|
| 213 |
regex=r"^Update a user's name\..*$", regex_flags=re.DOTALL
|
| 214 |
),
|
uv.lock
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|