We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f2d0903 + 8b63baf commit 48b6a8fCopy full SHA for 48b6a8f
1 file changed
aws_xray_sdk/ext/util.py
@@ -135,5 +135,5 @@ def unwrap(obj, attr):
135
:param attr: attribute on `obj` to unwrap
136
"""
137
f = getattr(obj, attr, None)
138
- if f and isinstance(f, wrapt.ObjectProxy) and hasattr(f, '__wrapped__'):
+ if f and hasattr(f, '__wrapped__'):
139
setattr(obj, attr, f.__wrapped__)
0 commit comments