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