mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
refactor(mcp): rename upstream_credentials.py to resolver.py
Avoids the outbound_credentials/upstream_credentials.py redundancy; the file holds the one resolve() entry point, so resolver.py names it for what it is. Renames the mapped test to test_resolver.py to match, and updates the test import and the types.py docstring pointer. Pure rename; UpstreamCredentialProvider keeps its name.
This commit is contained in:
parent
9be1f264e6
commit
74baaaf197
3 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
"""The OAuth / upstream-credential vocabulary — the v2 typed seam.
|
||||
|
||||
This module is the *contract* the credential build implements and the spec tests assert
|
||||
against. It ships the data types only; the resolver lives in `upstream_credentials.py`.
|
||||
against. It ships the data types only; the resolver lives in `resolver.py`.
|
||||
|
||||
Design invariants encoded here:
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ from litellm.proxy.gateway.mcp.outbound_credentials.types import (
|
|||
SharedKey,
|
||||
Subject,
|
||||
)
|
||||
from litellm.proxy.gateway.mcp.outbound_credentials.upstream_credentials import (
|
||||
from litellm.proxy.gateway.mcp.outbound_credentials.resolver import (
|
||||
UpstreamCredentialProvider,
|
||||
)
|
||||
from litellm.proxy.gateway.mcp.result import Error, Ok
|
||||
Loading…
Add table
Reference in a new issue