Skip to content

Commit bd870d3

Browse files
committed
Mark instrumentation_scope as optional
1 parent df61c28 commit bd870d3

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/trace

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ def __init__(
755755
record_exception: bool = True,
756756
set_status_on_exception: bool = True,
757757
limits=_UnsetLimits,
758-
instrumentation_scope: InstrumentationScope = None,
758+
instrumentation_scope: Optional[InstrumentationScope] = None,
759759
) -> None:
760760
if resource is None:
761761
resource = Resource.create({})

0 commit comments

Comments
 (0)