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