Created
January 21, 2026 09:03
-
-
Save ran-isenberg/8eb4101a90d2a2b80e71b4674c0290cc to your computer and use it in GitHub Desktop.
dynamo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pydynox import Model | |
| class User(Model): | |
| model_config = {"table": "users", "hash_key": "pk", "range_key": "sk"} | |
| pk: str | |
| sk: str | |
| name: str | |
| age: int | |
| # Looks like normal Python | |
| user = User(pk="USER#123", sk="PROFILE", name="Alice", age=30) | |
| user.save() # But serialization happens in Rust |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment