-
-
Notifications
You must be signed in to change notification settings - Fork 480
fix: ♻️ Make Attachment.save clearer by expliciting that chunksize is non-null #2991
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
base: master
Are you sure you want to change the base?
Conversation
|
Thanks for opening this pull request! This pull request can be checked-out with: git fetch origin pull/2991/head:pr-2991
git checkout pr-2991This pull request can be installed with: pip install git+https://github.com/Pycord-Development/pycord@refs/pull/2991/head |
8eedd58 to
fb74ffc
Compare
chunksize valuefb74ffc to
590c556
Compare
590c556 to
d2da9ef
Compare
Co-authored-by: plun1331 <[email protected]> Signed-off-by: Paillat <[email protected]>
Co-authored-by: plun1331 <[email protected]> Signed-off-by: Paillat <[email protected]>
|
oh, changelog |
|
I don't think changelog is required, this should have been in the og pr, and for testing, doesn't change the actual logic, because in case chunksize is 0 or negative, an error is raised so it can't ever go down and propagate to the other checks, it's just for readability (see discord discussion for more context) |
|
fair enough, still needs to be tested |
Summary
Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.