Azure / Azure/azure-sdk-for-python
Microsoft.Cache/redisEnterprise/databases does not support PATCH even though the documentation suggests so
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 5.6k
- フォーク
- 3.4k
- 平均マージ
- 2日 2時間
- マージ済み PR(30日)
- 213
説明
Package Name: azure mgmt redisenterprise
Describe the bug
Customer attempted to use the RedisEnterpriseManagementClient class to update the database persistence configuration using the client.databases.begin_update method. Based on the Python SDK documentation, persistence is available as a model in the azure mgmt redisenterprise package. However, the customer encountered
error while attempting to update the persistence settings through the SDK.
Reference documents :
Persistence package : azure.mgmt.redisenterprise package | Microsoft Learn
Database operations : azure.mgmt.redisenterprise.operations.DatabasesOperations class | Microsoft Learn
Note: this might have been generated from the current redisenterpise swagger definition https://github.com/Azure/azure-rest-api-specs/blob/55fc3e7d12df68485d19b10847f24c95579a06f4/specification/redisenterprise/resource-manager/Microsoft.Cache/RedisEnterprise/stable/2025-07-01/redisenterprise.json#L540-L541
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
redisenterprise.json の 540-541 行目にある Redis Enterprise swagger 定義から始め、その PATCH 宣言を azure.mgmt.redisenterprise パッケージの DatabasesOperations.begin_update と比較します。永続化の更新失敗を再現し、SDK がその操作をどのように表現しているかを追跡します。生成された Python クライアントが、文書化されたデータベース永続化の PATCH 動作をサポートし、報告された更新パスのカバレッジが存在すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, python, redis
- 領域
- api, cloud
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100