You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd love to be able temporarily disable the progress bar while running chunks of h2o code using with.
Describe the solution you'd like
I think the contextmanager decorator would solve this.
Describe alternatives you've considered
I could write a tryfinally block.
Additional context
Looks like R can do this based on #6991
The text was updated successfully, but these errors were encountered:
We already have internal no_progress_block (see h2o.explanation._explain.no_progress_block) which is a context manager. Changing no_progress to context manager was couple years ago considered but we didn't want to change API so we added a new function that works as a context manager.
I'll keep this issue open until we export the no_progress_block so it's not so hidden.
Is your feature request related to a problem? Please describe.
I'd love to be able temporarily disable the progress bar while running chunks of
h2o
code usingwith
.Describe the solution you'd like
I think the
contextmanager
decorator would solve this.Describe alternatives you've considered
I could write a
try
finally
block.Additional context
Looks like R can do this based on #6991
The text was updated successfully, but these errors were encountered: