Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Fix optional typing issue#2211

Closed
VictorErmakov wants to merge 1 commit into
microsoft:mainfrom
VictorErmakov:main
Closed

Fix optional typing issue#2211
VictorErmakov wants to merge 1 commit into
microsoft:mainfrom
VictorErmakov:main

Conversation

@VictorErmakov

@VictorErmakov VictorErmakov commented Mar 3, 2025

Copy link
Copy Markdown

Description

Typing for optional str, int, bool with default value None is incorrect.

Specific Changes

  • Change str = None to Union[str, None] = None
  • Change int = None to Union[int, None] = None
  • Change bool = None to Union[bool, None] = None

@VictorErmakov VictorErmakov requested a review from a team as a code owner March 3, 2025 13:03
@VictorErmakov

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@tracyboehrer tracyboehrer requested a review from axelsrz May 28, 2025 14:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants