File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ def _record(
118118 record_cursor_repr = cursor is not None ,
119119 span_origin = AsyncPGIntegration .origin ,
120120 ) as span :
121- yield span # type: ignore
121+ yield span
122122
123123
124124def _wrap_connection_method (
Original file line number Diff line number Diff line change @@ -641,7 +641,7 @@ def execute(
641641 executemany = False ,
642642 span_origin = DjangoIntegration .origin_db ,
643643 ) as span :
644- _set_db_data (span , self ) # type: ignore
644+ _set_db_data (span , self )
645645 result = real_execute (self , sql , params )
646646
647647 with capture_internal_exceptions ():
@@ -661,7 +661,7 @@ def executemany(
661661 executemany = True ,
662662 span_origin = DjangoIntegration .origin_db ,
663663 ) as span :
664- _set_db_data (span , self ) # type: ignore
664+ _set_db_data (span , self )
665665
666666 result = real_executemany (self , sql , param_list )
667667
You can’t perform that action at this time.
0 commit comments