We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edc6027 commit 3613cb0Copy full SHA for 3613cb0
src/databricks/sql/auth/token_federation.py
@@ -81,6 +81,16 @@ def auth_type(self) -> str:
81
"""Return the auth type from the underlying credentials provider."""
82
return self.credentials_provider.auth_type()
83
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
94
def __call__(self, *args, **kwargs) -> HeaderFactory:
95
"""
96
Configure and return a HeaderFactory that provides authentication headers.
0 commit comments