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