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
Docs: IdempotencyConfig docstring says local_cache_max_items defaults to 1024, it is 256 #8729
For contributors, human or agent. Comment here to claim this issue and wait for the assignment before opening a PR; if two PRs show up, the assignee's stays. AI-assisted work is welcome, say so in the PR and tell us how you verified it: run the tests yourself and paste what you saw, do not describe runs you did not do. Read AGENTS.md first, it has the commands and the rules the CI enforces. This goes into 3.41.0.
Expected Behaviour
The IdempotencyConfig docstring states the real default for local_cache_max_items.
Current Behaviour
aws_lambda_powertools/utilities/idempotency/config.py declares local_cache_max_items: int = 256 and the documentation table says 256, but the docstring says "by default 1024".
For those interested in contributing, please leave a comment below so that we can assign the issue to you and make sure we don't duplicate efforts. If you have any further questions, please don't hesitate to ask below or on our Discord server.
Plan: update the local_cache_max_items docstring in aws_lambda_powertools/utilities/idempotency/config.py from 1024 to 256 (docstring only, no behaviour change), then run ruff format --check, ruff check and the idempotency unit tests before opening the PR.
I'm working with an AI assistant on this; I'll say so in the PR and paste the commands and output I actually ran. Happy to wait for assignment.
Activity
powertools-for-aws-oss-automation commentedon Oct 31, 2026
Note
For those interested in contributing, please leave a comment below so that we can assign the issue to you and make sure we don't duplicate efforts. If you have any further questions, please don't hesitate to ask below or on our Discord server.
lechakrawarthy commentedon Oct 31, 2026
Hi! I'd like to take this one. It's a small docstring fix (1024 -> 256). I'll wait for assignment before opening a PR.
leandrodamascena commentedon Oct 31, 2026
Go ahead @lechakrawarthy
zhanfan-818 commentedon Nov 4, 2026
Hi — I'd like to take this one.
Plan: update the
local_cache_max_itemsdocstring inaws_lambda_powertools/utilities/idempotency/config.pyfrom 1024 to 256 (docstring only, no behaviour change), then runruff format --check,ruff checkand the idempotency unit tests before opening the PR.I'm working with an AI assistant on this; I'll say so in the PR and paste the commands and output I actually ran. Happy to wait for assignment.
zhanfan-818 commentedon Nov 4, 2026
My mistake — I missed that this was already assigned to @lechakrawarthy on 2026-11-01. Stepping back, no PR from me on this one. Sorry for the noise.