mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-19 23:04:25 +01:00
refactor: use built-in typing.Annotated instead of typing_extensions
This commit is contained in:
@@ -6,10 +6,10 @@ import os
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from typing import Annotated
|
||||
|
||||
try:
|
||||
import typer
|
||||
from typing_extensions import Annotated
|
||||
except ImportError:
|
||||
print("Error: typer is required. Install with 'pip install mcp[cli]'")
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user