Skip to content

Commit 3613cb0

Browse files
committed
debug
1 parent edc6027 commit 3613cb0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/databricks/sql/auth/token_federation.py

+10
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ def auth_type(self) -> str:
8181
"""Return the auth type from the underlying credentials provider."""
8282
return self.credentials_provider.auth_type()
8383

84+
@property
85+
def host(self) -> str:
86+
"""
87+
Alias for hostname to maintain compatibility with code expecting a host attribute.
88+
89+
Returns:
90+
str: The hostname value
91+
"""
92+
return self.hostname
93+
8494
def __call__(self, *args, **kwargs) -> HeaderFactory:
8595
"""
8696
Configure and return a HeaderFactory that provides authentication headers.

0 commit comments

Comments
 (0)