Skip to content

Commit e05ed0a

Browse files
authored
chore: Deprecate same_process_as_parent (#4244)
Preparing to remove this in #4201
1 parent 6a1364d commit e05ed0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sentry_sdk/tracing.py

+7
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,13 @@ def __init__(
323323

324324
self.scope = self.scope or hub.scope
325325

326+
if same_process_as_parent is not None:
327+
warnings.warn(
328+
"The `same_process_as_parent` parameter is deprecated.",
329+
DeprecationWarning,
330+
stacklevel=2,
331+
)
332+
326333
if start_timestamp is None:
327334
start_timestamp = datetime.now(timezone.utc)
328335
elif isinstance(start_timestamp, float):

0 commit comments

Comments
 (0)