Skip to content

Commit

Permalink
fix multimap
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-ya committed May 19, 2024
1 parent 22daea6 commit 6a3ab8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions outpostcli/lfs/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from outpostcli.constants import CLI_BINARY_NAME
from outpostcli.lfs.parallel import multimap
from outpostcli.lfs.part import transfer_part
from outpostcli.lfs.part import PartInfo, transfer_part
from outpostcli.lfs.utils import part_dict_list_to_xml
from outpostcli.utils import click_group

Expand Down Expand Up @@ -157,7 +157,7 @@ def on_progress(oid: str, uploaded_bytes: int):
for resp in pmap(
transfer_part,
(
(filepath, i + 1, chunk_size, part)
PartInfo(filepath, i + 1, chunk_size, part)
for (i, part) in enumerate(presigned_urls)
),
):
Expand Down

0 comments on commit 6a3ab8c

Please sign in to comment.