microsoftgraph / microsoftgraph/msgraph-sdk-python
language_tag
オープン
まだ誰も着手していません。
area:backing-store
priority:p2
type:bug
- 主要言語
- Python
- スター
- 630
- フォーク
- 96
- 平均マージ
- 15時間 20分
- マージ済み PR(30日)
- 3
説明
Describe the bug
I'm trying to create a BookingBusiness with a language_tag "nl-BE" or "fr-FR". But none of these values actually persist when doing the post call.
It defaults to en-US
Expected behavior
I want to set the language for the reservation page to "nl-BE".
How to reproduce
request_body = BookingBusiness(
display_name = f"xxxxx",
email = "x@x.com,
business_type = "xxxxx",
default_currency_iso = "EUR",
language_tag="nl-BE",
address=PhysicalAddress(
street="xxx",
city="xxxxx x",
state="xxxxx",
country_or_region="xxxx",
postal_code="xxxx"
),
booking_page_settings = BookingPageSettings(
business_time_zone="Europe/Berlin",
is_time_slot_time_zone_set_to_business_time_zone=True,
)
)
await graph_client.solutions.booking_businesses.post(request_body)
SDK Version
1.12.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```</details>
### Configuration
OS: MAC OS 15
### Other information
_No response_
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
BookingBusiness モデルと、graph_client.solutions.booking_businesses.post で使用される POST シリアライゼーションパスから始めます。language_tag を "nl-BE" に設定してリクエストを再現し、シリアライズされたペイロードとレスポンスを確認します。要求された言語タグが送信され、デフォルトで "en-US" になるのではなく保持されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100