Skip to content

Commit

Permalink
Removing unused line
Browse files Browse the repository at this point in the history
  • Loading branch information
singankit committed Jul 2, 2024
1 parent 924224b commit f08ed94
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ def _get_token(self):
# is an optional dependency.
from promptflow.azure._utils._token_cache import ArmTokenCache
return ArmTokenCache().get_token(self._ml_client._credential)
return self._ml_client._credential.get_token(EvalRun._SCOPE)

def request_with_retry(
self, url: str, method: str, json_dict: Dict[str, Any], headers: Optional[Dict[str, str]] = None
Expand Down

0 comments on commit f08ed94

Please sign in to comment.