microsoftgraph / microsoftgraph/msgraph-sdk-python

language_tag

オープン
#958 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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_

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。