Skip to content

Fix UnicodeAttribute and NumberAttribute serialization type checks#1286

Open
Abhi904485 wants to merge 1 commit intopynamodb:masterfrom
Abhi904485:feature/strict-attribute-serialization-1285
Open

Fix UnicodeAttribute and NumberAttribute serialization type checks#1286
Abhi904485 wants to merge 1 commit intopynamodb:masterfrom
Abhi904485:feature/strict-attribute-serialization-1285

Conversation

@Abhi904485
Copy link
Copy Markdown

fix(attributes): enforce strict typing for UnicodeAttribute and NumberAttribute

- UnicodeAttribute now raises TypeError when given non-string values
- NumberAttribute now raises TypeError when given non-numeric values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant