Skip to content

Commit bee382c

Browse files
committed
make changes requested in PR
1 parent a9e37d2 commit bee382c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/fetch/src/mcp_server_fetch/server.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
from typing import Optional, Tuple
2-
from typing_extensions import Annotated
1+
from typing import Annotated, Tuple
32
from urllib.parse import urlparse, urlunparse
43

54
import markdownify
@@ -177,7 +176,7 @@ class Fetch(BaseModel):
177176

178177

179178
async def serve(
180-
custom_user_agent: Optional[str] = None, ignore_robots_txt: bool = False
179+
custom_user_agent: str | None = None, ignore_robots_txt: bool = False
181180
) -> None:
182181
"""Run the fetch MCP server.
183182

0 commit comments

Comments
 (0)