Skip to content

Commit 557c418

Browse files
remove default arguments
1 parent c3050ce commit 557c418

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sentry_sdk/integrations/_asgi_common.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ def _get_ip(asgi_scope: "Any") -> str:
104104

105105

106106
def _get_request_data(
107-
asgi_scope: "Any", root_path_in_path: "_RootPathInPath" = _RootPathInPath.EXCLUDED
107+
asgi_scope: "Any",
108+
root_path_in_path: "_RootPathInPath",
108109
) -> "Dict[str, Any]":
109110
"""
110111
Returns data related to the HTTP request from the ASGI scope.
@@ -135,7 +136,7 @@ def _get_request_data(
135136

136137
def _get_request_attributes(
137138
asgi_scope: "Any",
138-
root_path_in_path: "_RootPathInPath" = _RootPathInPath.EXCLUDED,
139+
root_path_in_path: "_RootPathInPath",
139140
) -> "dict[str, Any]":
140141
"""
141142
Return attributes related to the HTTP request from the ASGI scope.

0 commit comments

Comments
 (0)