Skip to content

Commit

Permalink
Mark instrumentation_scope as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rbtz-openai committed Mar 21, 2024
1 parent df61c28 commit bd870d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ def __init__(
record_exception: bool = True,
set_status_on_exception: bool = True,
limits=_UnsetLimits,
instrumentation_scope: InstrumentationScope = None,
instrumentation_scope: Optional[InstrumentationScope] = None,
) -> None:
if resource is None:
resource = Resource.create({})
Expand Down

0 comments on commit bd870d3

Please sign in to comment.