@@ -110,7 +110,7 @@ class Address(Base):
110110 Session = sessionmaker (bind = engine ) # noqa: N806
111111 session = Session ()
112112
113- with start_transaction (name = "test_transaction" , sampled = True ):
113+ with start_transaction (name = "test_transaction" ):
114114 with session .begin_nested ():
115115 session .query (Person ).first ()
116116
@@ -184,7 +184,7 @@ class Address(Base):
184184 Session = sessionmaker (bind = engine ) # noqa: N806
185185 session = Session ()
186186
187- with start_transaction (name = "test_transaction" , sampled = True ):
187+ with start_transaction (name = "test_transaction" ):
188188 with session .begin_nested ():
189189 session .query (Person ).first ()
190190
@@ -305,7 +305,7 @@ def test_query_source_disabled(sentry_init, capture_events):
305305
306306 events = capture_events ()
307307
308- with start_transaction (name = "test_transaction" , sampled = True ):
308+ with start_transaction (name = "test_transaction" ):
309309 Base = declarative_base () # noqa: N806
310310
311311 class Person (Base ):
@@ -357,7 +357,7 @@ def test_query_source_enabled(sentry_init, capture_events, enable_db_query_sourc
357357
358358 events = capture_events ()
359359
360- with start_transaction (name = "test_transaction" , sampled = True ):
360+ with start_transaction (name = "test_transaction" ):
361361 Base = declarative_base () # noqa: N806
362362
363363 class Person (Base ):
@@ -404,7 +404,7 @@ def test_query_source(sentry_init, capture_events):
404404 )
405405 events = capture_events ()
406406
407- with start_transaction (name = "test_transaction" , sampled = True ):
407+ with start_transaction (name = "test_transaction" ):
408408 Base = declarative_base () # noqa: N806
409409
410410 class Person (Base ):
@@ -474,7 +474,7 @@ def test_query_source_with_module_in_search_path(sentry_init, capture_events):
474474 query_first_model_from_session ,
475475 )
476476
477- with start_transaction (name = "test_transaction" , sampled = True ):
477+ with start_transaction (name = "test_transaction" ):
478478 Base = declarative_base () # noqa: N806
479479
480480 class Person (Base ):
@@ -532,7 +532,7 @@ def test_no_query_source_if_duration_too_short(sentry_init, capture_events):
532532 )
533533 events = capture_events ()
534534
535- with start_transaction (name = "test_transaction" , sampled = True ):
535+ with start_transaction (name = "test_transaction" ):
536536 Base = declarative_base () # noqa: N806
537537
538538 class Person (Base ):
@@ -598,7 +598,7 @@ def test_query_source_if_duration_over_threshold(sentry_init, capture_events):
598598 )
599599 events = capture_events ()
600600
601- with start_transaction (name = "test_transaction" , sampled = True ):
601+ with start_transaction (name = "test_transaction" ):
602602 Base = declarative_base () # noqa: N806
603603
604604 class Person (Base ):
0 commit comments