You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2026. It is now read-only.
Traceback (most recent call last):
File "/home/vagrant/tmp/myproject/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/home/vagrant/tmp/myproject/venv/lib/python3.10/site-packages/django/utils/deprecation.py", line 131, in __call__
if self._is_coroutine:
AttributeError: 'RequestMiddleware' object has no attribute '_is_coroutine'
At the same code, when using Django 4.0.8, it's working.
I tryed to use
google.cloud.logging_v2.handlers.middleware.RequestMiddlewareat Django 4.1.3, Python 3.10 but errors raises bellow:Environment details
3.10pip-22.3.1google-cloud-loggingversion:3.2.5Steps to reproduce
RequestMiddlewareto settings.MIDDLEWARE/path --> error raised.Code example
Stack trace
At the same code, when using Django 4.0.8, it's working.