File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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`.
You can’t perform that action at this time.
0 commit comments