update: add interruptible execution of loops decorator#272
update: add interruptible execution of loops decorator#272VsevolodX wants to merge 4 commits intofeature/SOF-7843from
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
|
|
||
|
|
||
| def wait_for_jobs_to_finish(endpoint: JobEndpoints, job_ids: list, poll_interval: int = 10) -> None: | ||
| def _print_jobs_status_table(counts: Counter) -> None: |
There was a problem hiding this comment.
| show_controls: bool = True, | ||
| ): | ||
| """ | ||
| Decorator for single-iteration polling functions. |
| show_controls: bool = True, | ||
| ) -> None: | ||
| """ | ||
| Minimal wrapper. |
| from functools import wraps | ||
| from typing import Any, Awaitable, Callable | ||
|
|
||
| from mat3ra.utils.jupyterlite.environment import ENVIRONMENT, EnvironmentsEnum |
No description provided.