File tree Expand file tree Collapse file tree
sentry_sdk/integrations/django Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212from sentry_sdk .traces import StreamedSpan
1313from sentry_sdk .tracing_utils import (
1414 add_query_source ,
15- record_sql_queries_supporting_streaming ,
15+ record_sql_queries ,
1616 has_span_streaming_enabled ,
1717)
1818from sentry_sdk .utils import (
@@ -639,7 +639,7 @@ def install_sql_hook() -> None:
639639 def execute (
640640 self : "CursorWrapper" , sql : "Any" , params : "Optional[Any]" = None
641641 ) -> "Any" :
642- with record_sql_queries_supporting_streaming (
642+ with record_sql_queries (
643643 cursor = self .cursor ,
644644 query = sql ,
645645 params_list = params ,
@@ -659,7 +659,7 @@ def execute(
659659 def executemany (
660660 self : "CursorWrapper" , sql : "Any" , param_list : "List[Any]"
661661 ) -> "Any" :
662- with record_sql_queries_supporting_streaming (
662+ with record_sql_queries (
663663 cursor = self .cursor ,
664664 query = sql ,
665665 params_list = param_list ,
You can’t perform that action at this time.
0 commit comments