Skip to content

Commit 633b6f1

Browse files
committed
refactor: fix lint error
-e Signed-off-by: machichima <[email protected]>
1 parent 7b3553c commit 633b6f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flytekit/types/directory/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,11 +431,11 @@ def listdir(cls, directory: FlyteDirectory) -> typing.List[typing.Union[FlyteDir
431431
paths.append(flyte_file)
432432
else:
433433
local_folder = file_access.get_random_local_directory()
434-
downloader = _FlyteDirectoryDownloader(
434+
dir_downloader: typing.Callable = _FlyteDirectoryDownloader(
435435
remote_path=remote_path, local_path=local_folder, is_multipart=True
436436
)
437437

438-
flyte_directory: FlyteDirectory = FlyteDirectory(path=local_folder, downloader=downloader)
438+
flyte_directory: FlyteDirectory = FlyteDirectory(path=local_folder, downloader=dir_downloader)
439439
flyte_directory._remote_source = remote_path
440440
paths.append(flyte_directory)
441441

0 commit comments

Comments
 (0)