Skip to content

Commit 8cfd954

Browse files
committed
fixup! Deprecate rest.authorization-url in favor of oauth2-server-uri
1 parent c20416f commit 8cfd954

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
@@ -295,8 +295,8 @@ def url(self, endpoint: str, prefixed: bool = True, **kwargs: Any) -> str:
295295
def auth_url(self) -> str:
296296
if self.properties.get(AUTH_URL):
297297
deprecation_message(
298-
deprecated_in="0.7.0",
299-
removed_in="0.8.0",
298+
deprecated_in="0.8.0",
299+
removed_in="0.9.0",
300300
help_message=f"The property {AUTH_URL} is deprecated. Please use {OAUTH2_SERVER_URI} instead",
301301
)
302302

@@ -315,7 +315,7 @@ def _warn_oauth_tokens_deprecation(self) -> None:
315315

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

0 commit comments

Comments
 (0)