Skip to content

Commit 913ee61

Browse files
committed
fixup! Deprecate rest.authorization-url in favor of oauth2-server-uri
1 parent 029e7ae commit 913ee61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyiceberg/catalog/rest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ def url(self, endpoint: str, prefixed: bool = True, **kwargs: Any) -> str:
296296
def auth_url(self) -> str:
297297
if self.properties.get(AUTH_URL):
298298
deprecation_message(
299-
deprecated_in="0.7.0",
300-
removed_in="0.8.0",
299+
deprecated_in="0.8.0",
300+
removed_in="0.9.0",
301301
help_message=f"The property {AUTH_URL} is deprecated. Please use {OAUTH2_SERVER_URI} instead",
302302
)
303303

@@ -316,7 +316,7 @@ def _warn_oauth_tokens_deprecation(self) -> None:
316316

317317
if not has_oauth_server_uri and (has_init_token or has_credential) and not has_sigv4_enabled:
318318
deprecation_message(
319-
deprecated_in="0.7.0",
319+
deprecated_in="0.8.0",
320320
removed_in="1.0.0",
321321
help_message="Iceberg REST client is missing the OAuth2 server URI "
322322
f"configuration and defaults to {self.uri}{Endpoints.get_token}. "

0 commit comments

Comments
 (0)