Skip to content

Commit 7b3553c

Browse files
committed
refactor: lint
-e Signed-off-by: machichima <nary12321@gmail.com>
1 parent a2f1410 commit 7b3553c

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

flytekit/types/directory/types.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ def noop(): ...
5252
class _FlyteDirectoryDownloader:
5353
"""Downloader for FlyteDirectory that uses current context when called."""
5454

55-
def __init__(self, remote_path: str, local_path: str, is_multipart: bool = True, batch_size: typing.Optional[int] = None):
55+
def __init__(
56+
self, remote_path: str, local_path: str, is_multipart: bool = True, batch_size: typing.Optional[int] = None
57+
):
5658
self.remote_path = remote_path
5759
self.local_path = local_path
5860
self.is_multipart = is_multipart
@@ -62,7 +64,10 @@ def __call__(self):
6264
"""Download the directory using current context's synced get_data method."""
6365
current_ctx = FlyteContextManager.current_context()
6466
return current_ctx.file_access.get_data(
65-
remote_path=self.remote_path, local_path=self.local_path, is_multipart=self.is_multipart, batch_size=self.batch_size
67+
remote_path=self.remote_path,
68+
local_path=self.local_path,
69+
is_multipart=self.is_multipart,
70+
batch_size=self.batch_size,
6671
)
6772

6873

0 commit comments

Comments
 (0)