Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move checks back to options_from_form #83

Merged
merged 1 commit into from
Jan 30, 2023
Merged

Move checks back to options_from_form #83

merged 1 commit into from
Jan 30, 2023

Conversation

t20100
Copy link
Member

@t20100 t20100 commented Jan 26, 2023

This is a follow-up of PR #71 where I miss-understood something: There is no problem to have a async options_from_form, so this reworks the code to make all checks there so the error messages are propagated.


if "root_dir" in self.user_options:
self.notebook_dir = self.user_options["root_dir"]
self.__update_options(options, partition_info)
Copy link
Member Author

Choose a reason for hiding this comment

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

Updating options here to request partition_info only once since this calls an external tool and might be costly.

@t20100 t20100 requested a review from loichuder January 26, 2023 10:32
@t20100 t20100 added this to the Next release milestone Jan 30, 2023
@t20100 t20100 merged commit 349c256 into main Jan 30, 2023
@t20100 t20100 deleted the rework-checks branch January 30, 2023 14:58
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.

2 participants