language_tag
还没有人认领这个 Issue。
评估
调研方向
从 BookingBusiness 模型以及 graph_client.solutions.booking_businesses.post 使用的 POST 序列化路径开始。使用设置为 "nl-BE" 的 language_tag 重现请求,并检查序列化后的 payload 和响应。完成的标准是:发送请求的语言标签,并保留该语言标签,而不是默认变为 "en-US"。
由索引模型根据 Issue 内容生成。
描述
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_
- 主要语言
- Python
- 星标
- 630
- 派生
- 96
- 平均合并
- 15 小时 20 分钟
- 30 天内合并 PR
- 3
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-sdk-python 的其他 Issue
-
status:waiting-for-triage type:bug
难度 1/5 1 小时以内 新手友好度 90/100
microsoftgraph/msgraph-sdk-python#1570 ·
-
status:waiting-for-triage type:bug
难度 2/5 1-3 小时 新手友好度 75/100
microsoftgraph/msgraph-sdk-python#1563 ·
-
Needs: Attention :wave: type:bug
难度 2/5 1-3 小时 新手友好度 62/100
microsoftgraph/msgraph-sdk-python#1287 · 2 条评论 · 1 个 reaction ·
-
status:waiting-for-triage
难度 5/5 一周以上 新手友好度 25/100
microsoftgraph/msgraph-sdk-python#1557 ·
-
status:waiting-for-triage type:bug
难度 3/5 1-2 天 新手友好度 55/100
microsoftgraph/msgraph-sdk-python#1556 · 1 条评论 · 1 个 reaction ·
查看 microsoftgraph/msgraph-sdk-python 的全部 Issue
相似的 Issue
-
fix: inaccuracy ⚠️
难度 2/5 1-3 小时 新手友好度 72/100
uabrc/uabrc.github.io#1255 · 1 条评论 ·
-
docs
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 84/100
ethereum-optimism/factory#64 ·
-
难度 2/5 1-3 小时 新手友好度 90/100
duckdb/duckdb-python#627 ·
-
难度 2/5 1-3 小时 新手友好度 68/100