Skip to content

User.user_type should be UserType instead of str? #1023

@royhadad

Description

@royhadad

Describe the bug

In the User class, the type of user_type is Optional[str]

Expected behavior

should be

from msgraph.generated.models.user_type import UserType
Optional[UserType]

How to reproduce

look here: https://github.com/microsoftgraph/msgraph-sdk-python/blob/42317a0215a0ba24710cb7d9f63097143e1c19c3/msgraph/generated/models/user.py#L329C25-L329C28

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

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions