Skip to content

Commit

Permalink
Update __init__.py (#3448)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen committed Sep 26, 2023
1 parent 3f0d03b commit c8e5c3e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,12 @@ def wrapper(self, *args, **kwargs):


class ReadableSpan:
"""Provides read-only access to span attributes"""
"""Provides read-only access to span attributes.
Users should NOT be creating these objects directly. `ReadableSpan`s are created as
a direct result from using the tracing pipeline via the `Tracer`.
"""

def __init__(
self,
Expand Down

0 comments on commit c8e5c3e

Please sign in to comment.