Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34c5990

Browse files
author
Alex Boten
committed
fixing docs
1 parent ea4e732 commit 34c5990

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opentelemetry-api/src/opentelemetry/context/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
import logging
1616
import typing
17+
from functools import wraps
1718
from os import environ
1819
from sys import version_info
1920

@@ -32,6 +33,7 @@ def _load_runtime_context(func: _F) -> _F:
3233
"""Initializes the global RuntimeContext
3334
"""
3435

36+
@wraps(func)
3537
def wrapper(
3638
*args: typing.Tuple[typing.Any, typing.Any],
3739
**kwargs: typing.Dict[typing.Any, typing.Any]

0 commit comments

Comments
 (0)