Skip to content

Commit

Permalink
change documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
korgan00 committed Dec 20, 2024
1 parent 585c202 commit dbc8129
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/qiskit_serverless/core/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ def trace_decorator_factory(traced_feature: str):
def generated_decorator(traced_function: Union[FunctionType, str]):
"""
The decorator wrapper to generate optional arguments
if traced_function is nullable it will be replaced by the decorated function name.
if traced_function is string it will be used in the span,
the function.__name__ attribute will be used otherwise
"""

def decorator_trace(func: FunctionType):
Expand Down

0 comments on commit dbc8129

Please sign in to comment.