Skip to content

Support for multipart file upload.#493

Closed
rajasimon-precisionformedicine wants to merge 7 commits intomasterfrom
EDPOPS-114
Closed

Support for multipart file upload.#493
rajasimon-precisionformedicine wants to merge 7 commits intomasterfrom
EDPOPS-114

Conversation

@rajasimon-precisionformedicine
Copy link
Collaborator

File larger than 5Gb failed because of the technical limitation but with the multi part upload feature the files are upload in chunks.

* Update github-runner to use Ubuntu-24.04

* Update GH runner to ubuntu-22.04

* pypy instad of pypy3

* remove pypy

* Update actions versions

* reformat files

* reformat files

* add python 3.9 to tests

---------

Co-authored-by: Tatjana Damnjanović <tatjana.damnjanovic@precisionformedicine.com>
Co-authored-by: Tatjana Damnjanović <tatjana@solvebio.com>
mimetype = mime_tuple[1] if mime_tuple[1] else mime_tuple[0]
# Get file size
size = os.path.getsize(local_path)
if size == 0:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove this part? We should skip the empty files.

pass

# Lookup parent object
if kwargs.get('follow_shortcuts') and obj and obj.is_file:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this logic for the shortcuts resolution, so this shouldn't be removed

@rajasimon-precisionformedicine
Copy link
Collaborator Author

This is merged as part of this PR #498

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants