You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Binding: item collection metrics of BatchWriteItem and TransactWriteItems are dropped #95
Priority: medium. Both methods accept return_item_collection_metrics=True, the core asks for and parses the metrics (backend/aws/mod.rs), and the in-memory backend computes them, but the binding builds the output dicts without item_collection_metrics (crates/dynamoxy-py/src/client.rs, batch_write_item and transact_write_items), and the stub's TypedDicts leave the key out (_core.pyi). On a table with a local secondary index, put_item returns the metrics, while batch_write_item returns {"unprocessed_items": {}, "consumed_capacity": []} and transact_write_items{"consumed_capacity": []}. client.call(...) is the documented way to reach these parameters.
Found in a review of the library for bugs (fctl session); the fixes that fit in its ten pull requests are #61 to #65, #67 to #70 and #72.
Activity
fix(client): batch and transaction writes return the item collection …