Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
qxtaiba committed Jan 25, 2025
1 parent 3467d10 commit 36afb53
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions python/delta_sharing/rest_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ class DataSharingRestClient:
PARQUET_FORMAT = "parquet"

def __init__(
self,
profile: DeltaSharingProfile,
num_retries=10,
session: Optional[requests.Session] = None
):
self,
profile: DeltaSharingProfile,
num_retries=10,
session: Optional[requests.Session] = None
):
self._profile = profile
self._num_retries = num_retries
self._sleeper = lambda sleep_ms: time.sleep(sleep_ms / 1000)
Expand Down
8 changes: 4 additions & 4 deletions python/delta_sharing/sharing_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ class SharingClient:
You can use this to customize proxy settings, authentication, etc.
"""
def __init__(
self,
profile: Union[str, BinaryIO, TextIO, Path, DeltaSharingProfile],
session: Optional[requests.Session] = None
):
self,
profile: Union[str, BinaryIO, TextIO, Path, DeltaSharingProfile],
session: Optional[requests.Session] = None
):
if not isinstance(profile, DeltaSharingProfile):
profile = DeltaSharingProfile.read_from_file(profile)
self._profile = profile
Expand Down

0 comments on commit 36afb53

Please sign in to comment.