Skip to content

Enable getting type hints for tasks#6419

Merged
auvipy merged 1 commit intocelery:masterfrom
davidparsson:fix/6186
Oct 17, 2020
Merged

Enable getting type hints for tasks#6419
auvipy merged 1 commit intocelery:masterfrom
davidparsson:fix/6186

Conversation

@davidparsson
Copy link
Contributor

Description

This will allow getting type hints.

Fixes #6186 for master.

This will allow getting type hints.

Fixes celery#6186.
@lgtm-com
Copy link

lgtm-com bot commented Oct 16, 2020

This pull request introduces 2 alerts when merging 82944e9 into 05da357 - view on LGTM.com

new alerts:

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

@auvipy auvipy merged commit d1305f3 into celery:master Oct 17, 2020
@davidparsson davidparsson deleted the fix/6186 branch October 17, 2020 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@app.task should copy __annotations__ from the task function like @functools.wraps

2 participants