Skip to content

Commit e02c281

Browse files
committed
chore(python): Rename parameter
1 parent 6c4ac8b commit e02c281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Tracing in the Sentry Python SDK `3.x` is powered by [OpenTelemetry](https://ope
8181
...
8282
```
8383

84-
Any spans without a parent span will become transactions by default. If you want to avoid promoting a span without a parent to a transaction, you can pass the `only_if_parent=True` keyword argument to `sentry_sdk.start_span()`.
84+
Any spans without a parent span will become transactions by default. If you want to avoid promoting a span without a parent to a transaction, you can pass the `only_as_child_span=True` keyword argument to `sentry_sdk.start_span()`.
8585

8686
`sentry_sdk.start_transaction()` and `sentry_sdk.start_span()` no longer take the following arguments: `trace_id`, `baggage`, `span_id`, `parent_span_id`, `custom_sampling_context` (see below). Use `sentry_sdk.continue_trace()` for propagating trace data.
8787

0 commit comments

Comments
 (0)