Skip to content

Update _upload.py for TYPE_CHECKING#6327

Merged
not522 merged 6 commits intooptuna:masterfrom
satyarth7srivastava:type_check
Nov 10, 2025
Merged

Update _upload.py for TYPE_CHECKING#6327
not522 merged 6 commits intooptuna:masterfrom
satyarth7srivastava:type_check

Conversation

@satyarth7srivastava
Copy link
Copy Markdown
Contributor

@satyarth7srivastava satyarth7srivastava commented Nov 4, 2025

Motivation

Updated the _upload.py

Description of the changes

this PR relates #6029

satyarth7srivastava and others added 2 commits November 5, 2025 12:12
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com>
Co-authored-by: Shuhei Watanabe <47781922+nabenabe0928@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@kAIto47802 kAIto47802 left a comment

Choose a reason for hiding this comment

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

Thank you for the PR. It's almost LGTM
Could you please update the PR comment from “resolves” to “relates” (or something similar), since otherwise the original issue will be automatically closed when this PR is merged?

Copy link
Copy Markdown
Collaborator

@kAIto47802 kAIto47802 left a comment

Choose a reason for hiding this comment

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

Also, could you please apply the formatter to reorder the imports and fix the CI issue?
You can do this by running ./formats.sh at the root of the Optuna directory.

@satyarth7srivastava
Copy link
Copy Markdown
Contributor Author

Also, could you please apply the formatter to reorder the imports and fix the CI issue? You can do this by running ./formats.sh at the root of the Optuna directory.

I'm on it

@not522 not522 self-assigned this Nov 6, 2025
@satyarth7srivastava
Copy link
Copy Markdown
Contributor Author

Updated the file and sorry for inconvenience, I'm new to contributing still learning

Copy link
Copy Markdown
Collaborator

@kAIto47802 kAIto47802 left a comment

Choose a reason for hiding this comment

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

Thank you for the update. LGTM

Copy link
Copy Markdown
Member

@not522 not522 left a comment

Choose a reason for hiding this comment

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

LGTM!

@not522 not522 added the code-fix Change that does not change the behavior, such as code refactoring. label Nov 10, 2025
@not522 not522 added this to the v4.7.0 milestone Nov 10, 2025
@not522 not522 changed the title updated _upload.py for TYPE_CHECKING Update _upload.py for TYPE_CHECKING Nov 10, 2025
@not522 not522 merged commit 5506e28 into optuna:master Nov 10, 2025
12 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.

4 participants