microsoftgraph / microsoftgraph/msgraph-sdk-python

language_tag

Open
#958 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:backing-store priority:p2 type:bug
Dominant language
Python
Stars
630
Forks
96
Avg merge
15h 20m
Merged PRs (30d)
3

Description

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_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the BookingBusiness model and the POST serialization path used by graph_client.solutions.booking_businesses.post. Reproduce the request with language_tag set to "nl-BE" and inspect the serialized payload and response. Done means the requested language tag is sent and is retained instead of defaulting to "en-US".

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.