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

Tasks can now have required kwargs at any order #6699

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

thedrow
Copy link
Member

@thedrow thedrow commented Mar 29, 2021

Note: Before submitting this pull request, please review our contributing
guidelines
.

Description

Fixes #5469.
Thanks to @dimavitvickiy for the initial research in #5485.

Fixes #5469.
Thanks to @dimavitvickiy for the initial research in #5485.
@thedrow thedrow added this to the 5.1.0 milestone Mar 29, 2021
@thedrow thedrow requested a review from a team March 29, 2021 10:55
@thedrow thedrow added this to In progress in Celery 5.1.0 via automation Mar 29, 2021
@thedrow thedrow self-assigned this Mar 29, 2021
@codecov
Copy link

codecov bot commented Mar 29, 2021

Codecov Report

Merging #6699 (dec49f6) into master (a78f8cc) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6699      +/-   ##
==========================================
- Coverage   70.46%   70.46%   -0.01%     
==========================================
  Files         138      138              
  Lines       16505    16504       -1     
  Branches     2076     2076              
==========================================
- Hits        11630    11629       -1     
  Misses       4670     4670              
  Partials      205      205              
Flag Coverage Δ
unittests 70.46% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
celery/utils/functional.py 65.86% <100.00%> (-0.21%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a78f8cc...dec49f6. Read the comment docs.

@lgtm-com
Copy link

lgtm-com bot commented Mar 29, 2021

This pull request introduces 1 alert and fixes 2 when merging dec49f6 into a78f8cc - view on LGTM.com

new alerts:

  • 1 for Unused import

fixed alerts:

  • 1 for Non-exception in 'except' clause
  • 1 for Module is imported with 'import' and 'import from'

Celery 5.1.0 automation moved this from In progress to Reviewer approved Mar 30, 2021
@auvipy
Copy link
Member

auvipy commented Mar 30, 2021

pypy failure is not related, right?

@thedrow
Copy link
Member Author

thedrow commented Mar 30, 2021

pypy failure is not related, right?

Yes it isn't.

@thedrow thedrow merged commit 6157bc9 into master Mar 30, 2021
Celery 5.1.0 automation moved this from Reviewer approved to Done Mar 30, 2021
@thedrow thedrow deleted the kwonly-required-args-any-order branch March 30, 2021 14:37
jeyrce pushed a commit to jeyrce/celery that referenced this pull request Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Celery 5.1.0
  
Done
Development

Successfully merging this pull request may close these issues.

Error with default kwargs in __header__ attribute generation
2 participants