Skip to content

Commit ec31fa2

Browse files
author
rusty
committed
Include unicode type for annotation value
1 parent 969283c commit ec31fa2

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)