Skip to content

Commit 04b976a

Browse files
committed
docstring
1 parent de68868 commit 04b976a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sentry_sdk/tracing_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -779,11 +779,11 @@ def create_span_decorator(
779779
Create a span decorator that can wrap both sync and async functions.
780780
781781
:param op: The operation type for the span.
782-
:type op: :py:class:`sentry_sdk.consts.OP`
782+
:type op: str or :py:class:`sentry_sdk.consts.OP` or None
783783
:param name: The name of the span.
784-
:type name: :py:class:`str`
784+
:type name: str or None
785785
:param attributes: Additional attributes to set on the span.
786-
:type attributes: :py:class:`dict[str, Any]`
786+
:type attributes: dict or None
787787
:param template: The type of span to create. This determines what kind of
788788
span instrumentation and data collection will be applied. Use predefined
789789
constants from :py:class:`sentry_sdk.consts.SPANTEMPLATE`.

0 commit comments

Comments
 (0)