Skip to content

Commit fb1f29e

Browse files
committed
code formatting
1 parent 57f14b8 commit fb1f29e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/platforms/python/migration/2.x-to-3.x.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The `enable_tracing` option was removed. Use [`traces_sample_rate`](/platforms/p
2525
sentry_sdk.init(
2626
- enable_tracing=True,
2727
+ traces_sample_rate=1.0,
28-
)
28+
)
2929
```
3030

3131
The deprecated `propagate_traces` option was removed. Use [`trace_propagation_targets`](/platforms/python/configuration/options/#trace_propagation_targets) instead.
@@ -35,7 +35,7 @@ The deprecated `propagate_traces` option was removed. Use [`trace_propagation_ta
3535
# don't propagate trace info downstream
3636
- propagate_traces=False,
3737
+ trace_propagation_targets=[],
38-
)
38+
)
3939
```
4040

4141
Note that this only affects the global SDK option. The `propagate_traces` option of the Celery integration remains unchanged.
@@ -50,7 +50,7 @@ The `profiles_sample_rate` and `profiler_mode` options previously nested under `
5050
- },
5151
+ profiles_sample_rate=1.0,
5252
+ profiler_mode="thread",
53-
)
53+
)
5454
```
5555

5656
## Tracing API

0 commit comments

Comments
 (0)