dynamodb_encryption_sdk.internal.validators

Custom validators for attrs.

Warning

No guarantee is provided on the modules and APIs within this namespace staying consistent. Directly reference at your own risk.

Functions

callable_validator(instance, attribute, value)

Validate that an attribute value is callable.

dictionary_validator(key_type, value_type)

Validator for attrs that performs deep type checking of dictionaries.

iterable_validator(iterable_type, member_type)

Validator for attrs that performs deep type checking of iterables.

dynamodb_encryption_sdk.internal.validators.dictionary_validator(key_type, value_type)[source]

Validator for attrs that performs deep type checking of dictionaries.

dynamodb_encryption_sdk.internal.validators.iterable_validator(iterable_type, member_type)[source]

Validator for attrs that performs deep type checking of iterables.