Skip to content

Commit fc4a192

Browse files
committed
adopt feedback - thanks Fokko!
1 parent 52a3643 commit fc4a192

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyiceberg/catalog/rest/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
PropertiesUpdateSummary,
4040
)
4141
from pyiceberg.catalog.rest.auth import AuthManager, AuthManagerAdapter, AuthManagerFactory, LegacyOAuth2AuthManager
42-
from pyiceberg.catalog.rest.util import _handle_non_200_response
42+
from pyiceberg.catalog.rest.response import _handle_non_200_response
4343
from pyiceberg.exceptions import (
4444
AuthorizationExpiredError,
4545
CommitFailedException,
@@ -257,7 +257,7 @@ def _create_session(self) -> Session:
257257
def _create_legacy_oauth2_auth_manager(self, session: Session) -> AuthManager:
258258
"""Create the LegacyOAuth2AuthManager by fetching required properties.
259259
260-
This will be deprecated in PyIceberg 1.0
260+
This will be removed in PyIceberg 1.0
261261
"""
262262
client_credentials = self.properties.get(CREDENTIAL)
263263
# We want to call `self.auth_url` only when we are using CREDENTIAL

pyiceberg/catalog/rest/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from requests import HTTPError, PreparedRequest, Session
2424
from requests.auth import AuthBase
2525

26-
from pyiceberg.catalog.rest.util import TokenResponse, _handle_non_200_response
26+
from pyiceberg.catalog.rest.response import TokenResponse, _handle_non_200_response
2727
from pyiceberg.exceptions import OAuthError
2828

2929
COLON = ":"

0 commit comments

Comments
 (0)