Skip to content

Conversation

@SimonBlanke
Copy link
Collaborator

add optuna optional import to init file

@SimonBlanke SimonBlanke requested a review from fkiraly September 16, 2025 17:22
Copy link
Collaborator

@fkiraly fkiraly left a comment

Choose a reason for hiding this comment

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

Silly question, do the imports not always work? So the try/except is superfluous.

The failure will occur only when attempting to construct an instance afaik.

@SimonBlanke
Copy link
Collaborator Author

Silly question, do the imports not always work? So the try/except is superfluous.

The failure will occur only when attempting to construct an instance afaik.

You are correct! I missed that.

@SimonBlanke SimonBlanke merged commit a2972d4 into main Sep 19, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants