Skip to content

Commit

Permalink
Fix downloaded_parts return type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Jun 9, 2024
1 parent 42e9948 commit 1b01e56
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions package_build/download_parts.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ class DownloadedParts(NamedTuple):


# @st.cache_data
def download_parts(
hook_info: HookInfoEntry,
dict_info: DictInfoEntry,
) -> tuple[bytes, bytes, bytes, bytes, bytes, bytes]:
def download_parts(hook_info: HookInfoEntry, dict_info: DictInfoEntry) -> DownloadedParts:
st.write("Download library...")
library = download(hook_info.lib)

Expand Down

0 comments on commit 1b01e56

Please sign in to comment.