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

Deprecation warning: Setting variables on Sanic instances is deprecated and will be removed in version 21.9 #39

Open
jurjenvanlaun opened this issue Apr 12, 2021 · 0 comments

Comments

@jurjenvanlaun
Copy link

we're getting a deprecation warning:

/usr/local/lib/python3.9/site-packages/sanic/base.py:35: UserWarning: Setting variables on Sanic instances is deprecated and will be removed in version 21.9. You should change your Sanic instance to use instance.ctx.metrics instead.
@jurjenvanlaun jurjenvanlaun changed the title Deprecation warning Deprecation warning: etting variables on Sanic instances is deprecated and will be removed in version 21.9 Apr 12, 2021
@jurjenvanlaun jurjenvanlaun changed the title Deprecation warning: etting variables on Sanic instances is deprecated and will be removed in version 21.9 Deprecation warning: Setting variables on Sanic instances is deprecated and will be removed in version 21.9 Apr 12, 2021
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

No branches or pull requests

1 participant