Skip to content

Commit 638f39e

Browse files
authored
Include unicode type for annotation value (#235)
1 parent a2e4bc6 commit 638f39e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_xray_sdk/core/utils/compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
PY35 = sys.version_info >= (3, 5)
77

88
if PY2:
9-
annotation_value_types = (int, long, float, bool, str) # noqa: F821
9+
annotation_value_types = (int, long, float, bool, str, unicode) # noqa: F821
1010
string_types = basestring # noqa: F821
1111
else:
1212
annotation_value_types = (int, float, bool, str)

0 commit comments

Comments
 (0)