Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix RemovedInDjango40Warning in signals.py#252

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jgillard wants to merge1 commit intodjango-background-tasks:master
base:master
Choose a base branch
Loading
fromjgillard:fix-deprecationwarning-providingargs

Conversation

@jgillard
Copy link

When running pytest against Django 3.1 I get 5 of these warnings:

=============================== warnings summary ===============================.venv/lib/python3.8/site-packages/background_task/signals.py:6  /Users/james/journee-git/journee-django/.venv/lib/python3.8/site-packages/background_task/signals.py:6: RemovedInDjango40Warning: The providing_args argument is deprecated. As it is purely documentational, it has no replacement. If you rely on this argument as documentation, you can move the text to a code comment or docstring.    task_created = django.dispatch.Signal(providing_args=['task'])

As the message says, providing_args can simple be removed without consequence. I've done this and all the warnings are now fixed.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 76.825% when pulling23acfb1 on jgillard:fix-deprecationwarning-providingargs intoe04d44c on arteria:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 76.825% when pulling23acfb1 on jgillard:fix-deprecationwarning-providingargs intoe04d44c on arteria:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 76.825% when pulling23acfb1 on jgillard:fix-deprecationwarning-providingargs intoe04d44c on arteria:master.

tarheel added a commit to decktools/django-background-tasks that referenced this pull requestNov 13, 2020
tarheel added a commit to decktools/django-background-tasks that referenced this pull requestNov 13, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@jgillard@coveralls

[8]ページ先頭

©2009-2025 Movatter.jp