We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86fd48a commit 9648022Copy full SHA for 9648022
1 file changed
sentry_sdk/integrations/_wsgi_common.py
@@ -4,6 +4,8 @@
4
5
import sentry_sdk
6
from sentry_sdk._types import SENSITIVE_DATA_SUBSTITUTE
7
+from sentry_sdk._werkzeug import _get_headers
8
+from sentry_sdk.integrations.wsgi import get_client_ip, get_request_url
9
from sentry_sdk.scope import should_send_default_pii
10
from sentry_sdk.utils import AnnotatedValue, logger
11
@@ -256,8 +258,6 @@ def _get_request_attributes(
256
258
"""
257
259
Return span attributes related to the HTTP request from the WSGI environ.
260
- from sentry_sdk._werkzeug import _get_headers
- from sentry_sdk.integrations.wsgi import get_client_ip, get_request_url
261
262
attributes: "Dict[str, Any]" = {}
263
0 commit comments