Skip to content

Commit 9648022

Browse files
committed
move imports
1 parent 86fd48a commit 9648022

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sentry_sdk/integrations/_wsgi_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
import sentry_sdk
66
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
79
from sentry_sdk.scope import should_send_default_pii
810
from sentry_sdk.utils import AnnotatedValue, logger
911

@@ -256,8 +258,6 @@ def _get_request_attributes(
256258
"""
257259
Return span attributes related to the HTTP request from the WSGI environ.
258260
"""
259-
from sentry_sdk._werkzeug import _get_headers
260-
from sentry_sdk.integrations.wsgi import get_client_ip, get_request_url
261261

262262
attributes: "Dict[str, Any]" = {}
263263

0 commit comments

Comments
 (0)