File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515except ModuleNotFoundError :
1616
1717 @dataclass
18- class AccessToken :
18+ class AccessToken : # type: ignore[no-redef]
1919 token : str
2020 expires_on : int
2121
@@ -76,10 +76,11 @@ class AccessToken:
7676def _require_azure_identity (authentication : str ) -> None :
7777 if _AZURE_IDENTITY_IMPORT_ERROR is not None :
7878 raise dbt_common .exceptions .DbtRuntimeError (
79- "Azure authentication '{}' requires the optional dependency 'azure-identity'. "
80- "Install it with `pip install azure-identity` or use a non-Azure authentication mode." .format (
81- authentication
82- )
79+ (
80+ "Azure authentication '{}' requires the optional "
81+ "dependency 'azure-identity'. Install it with `pip install "
82+ "azure-identity` or use a non-Azure authentication mode."
83+ ).format (authentication )
8384 ) from _AZURE_IDENTITY_IMPORT_ERROR
8485
8586
You can’t perform that action at this time.
0 commit comments