Created
January 21, 2026 09:08
-
-
Save ran-isenberg/2bac4b3d8ac0da8124aae96dec6f2577 to your computer and use it in GitHub Desktop.
rust
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
| use pyo3::prelude::*; | |
| #[pyfunction] | |
| fn serialize_to_dynamodb(py: Python, item: PyObject) -> PyResult<PyObject> { | |
| // Rust code that converts Python dict to DynamoDB format | |
| // Much faster than doing this in pure Python | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment