Feature request: Add support for logging the idempotency key

未關閉
#5,620 10 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
半天
新手友好度
38/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
aws, python

研究方向

Start with the idempotency record creation path in the Python Lambda toolkit and locate where new records are persisted. Determine how a creation hook could expose the key through the project’s existing logging patterns, then add or update the relevant idempotency tests. Done means the key is available when a record is created and the behavior is covered by tests.

由索引模型根據 Issue 內容生成。

描述

feature-request idempotency
Use case

Sometimes there may be a bug in an application that calls an API, and to resolve the bug it is necessary to delete the cached response. At present, as there is no indication of the key, it is difficult to find when there are many records.

Solution/User Experience

I would like a hook that is called when a new idempotency record is created.

Alternative solutions
Right now I have to manually go through the records to find the right one.
Acknowledgment
主要語言
Python
星號
3.3k
分支
511
平均合併
3 天 12 小時
30 天內合併 PR
93

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

aws-powertools/powertools-lambda-python 的其他 Issue

查看 aws-powertools/powertools-lambda-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。