mirror of
https://github.com/anthropics/claude-code-sdk-python.git
synced 2025-12-23 09:19:52 +00:00
Merge 39acac79c8 into 3eb12c5a37
This commit is contained in:
commit
4f111faca6
1 changed files with 5 additions and 1 deletions
|
|
@ -6,7 +6,11 @@ from dataclasses import dataclass, field
|
|||
from pathlib import Path
|
||||
from typing import TYPE_CHECKING, Any, Literal, TypedDict
|
||||
|
||||
from typing_extensions import NotRequired
|
||||
# NotRequired was added to typing in Python 3.11
|
||||
if sys.version_info >= (3, 11):
|
||||
from typing import NotRequired
|
||||
else:
|
||||
from typing_extensions import NotRequired
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from mcp.server import Server as McpServer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue