Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd8fab2

Browse files
committed
Change get_context docstring
1 parent 750a8d3 commit dd8fab2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

opentelemetry/api/trace/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ def end(self) -> None:
151151
raise NotImplementedError
152152

153153
def get_context(self) -> SpanContext:
154-
"""Get an immutable snapshot of this span.
154+
"""Get the span's SpanContext.
155+
156+
Get an immutable, serializable identifier for this span that can be
157+
used to create new child spans.
155158
156159
Returns:
157160
A :class:`.SpanContext` with a copy of this span's immutable state.

0 commit comments

Comments
 (0)