Skip to content

Commit b1f2c40

Browse files
authored
Apply suggestions from code review
1 parent d7aa808 commit b1f2c40

File tree

1 file changed

+4
-4
lines changed
  • shim/opentelemetry-opentracing-shim/src/opentelemetry/shim/opentracing_shim

1 file changed

+4
-4
lines changed

shim/opentelemetry-opentracing-shim/src/opentelemetry/shim/opentracing_shim/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -614,11 +614,11 @@ def start_active_span(
614614

615615
def start_span(
616616
self,
617-
operation_name: Optional[str] = None,
618-
child_of: Optional[Union[SpanShim, SpanContextShim]] = None,
619-
references: Optional[list] = None,
617+
operation_name: str | None = None,
618+
child_of: SpanShim | SpanContextShim | None = None,
619+
references: list | None = None,
620620
tags: Attributes = None,
621-
start_time: Optional[float] = None,
621+
start_time: float | None = None,
622622
ignore_active_span: bool = False,
623623
) -> SpanShim:
624624
"""Implements the ``start_span()`` method from the base class.

0 commit comments

Comments
 (0)