Skip to content

Fix type checking#6507

Merged
c-bata merged 1 commit intooptuna:masterfrom
sateeshkumarb:master
Mar 13, 2026
Merged

Fix type checking#6507
c-bata merged 1 commit intooptuna:masterfrom
sateeshkumarb:master

Conversation

@sateeshkumarb
Copy link
Copy Markdown
Contributor

@sateeshkumarb sateeshkumarb commented Mar 12, 2026

Motivation

Partially fixes the issue: #6029

Description of the changes

Move imports that were used solely for type checking under the block TYPE_CHECKING

@c-bata c-bata self-assigned this Mar 13, 2026
@c-bata c-bata added the code-fix Change that does not change the behavior, such as code refactoring. label Mar 13, 2026
Copy link
Copy Markdown
Member

@c-bata c-bata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for your contribution.

@c-bata c-bata added this to the v4.8.0 milestone Mar 13, 2026
@c-bata c-bata merged commit 54fe633 into optuna:master Mar 13, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-fix Change that does not change the behavior, such as code refactoring.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants