mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
fix(sap): linter fix
This commit is contained in:
parent
afe3cc64c0
commit
5ac885bab4
1 changed files with 3 additions and 3 deletions
|
|
@ -212,7 +212,7 @@ def fetch_credentials(
|
|||
> default
|
||||
"""
|
||||
config = init_conf(profile)
|
||||
env = os.environ # snapshot for testability
|
||||
env = dict(os.environ) # snapshot for testability
|
||||
|
||||
|
||||
service_like = service_key or sap_service_key or _load_json_env(SERVICE_KEY_ENV_VAR)
|
||||
|
|
@ -220,8 +220,8 @@ def fetch_credentials(
|
|||
|
||||
out: Dict[str, str] = {}
|
||||
for cred in CREDENTIAL_VALUES:
|
||||
value = _resolve_value(cred, kwargs=kwargs, env=env, config=config, service_like=service_like, # type: ignore
|
||||
vcap_service=vcap_service) # type: ignore
|
||||
value = _resolve_value(cred, kwargs=kwargs, env=env, config=config, service_like=service_like,
|
||||
vcap_service=vcap_service)
|
||||
if value is None:
|
||||
continue
|
||||
if cred.transform_fn:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue