Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactored code using assert #127

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shreyagupta30
Copy link

@shreyagupta30 shreyagupta30 commented Mar 26, 2020

This solved #104
@skim1102 I have tried to refactor the error handling using the assert block. Kindly do let me know if any further changes are required!

Copy link
Contributor

@say-yawn say-yawn left a comment

Choose a reason for hiding this comment

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

Hi, thanks for contributing to Shavar services. I left some review and would like to add additional acceptance criteria for asserting that the file size does not exceed the max size. Since version 73 newer, the max size of files switched to 4 mebibytes (Mb). As a result, for versions lower than 73 we should check to make sure that the list size does not exceed 1Mb. I will add this comment on the issue as well.

publish2cloud.py Outdated Show resolved Hide resolved
@shreyagupta30
Copy link
Author

Hi @skim1102 ! I have made the changes as required. Do let me know if any further changes are required!

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