mirror of
https://github.com/mcp-use/mcp-use.git
synced 2026-09-14 18:06:01 +08:00
19 lines
426 B
Python
19 lines
426 B
Python
# mcp_use/client.py
|
|
import warnings
|
|
|
|
from typing_extensions import deprecated
|
|
|
|
from mcp_use.client.client import MCPClient as _MCPClient
|
|
|
|
warnings.warn(
|
|
"mcp_use.client.MCPClient is deprecated. "
|
|
"Use mcp_use.client.client.MCPClient. "
|
|
"This import will be removed in version 2.0.0",
|
|
DeprecationWarning,
|
|
stacklevel=2,
|
|
)
|
|
|
|
|
|
@deprecated("Use mcp_use.client.client.MCPClient")
|
|
class MCPClient(_MCPClient): ...
|