We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c335d4e commit 25bb09dCopy full SHA for 25bb09d
src/dynamodb_encryption_sdk/structures.py
@@ -17,7 +17,7 @@
17
import six
18
19
from .identifiers import ItemAction
20
-from dynamodb_encryption_sdk.internal.validators import dictionary_validator
+from dynamodb_encryption_sdk.internal.validators import dictionary_validator, iterable_validator
21
22
23
def _validate_attribute_values_are_ddb_items(instance, attribute, value):
@@ -176,7 +176,7 @@ class TableInfo(object):
176
default=None
177
)
178
_indexed_attributes = attr.ib(
179
- validator=attr.validators.optional(attr.validators.instance_of(set)),
+ validator=attr.validators.optional(iterable_validator(set, six.string_types)),
180
181
182
0 commit comments