pasteur.utils.progress.limit_pbar_nesting

pasteur.utils.progress.limit_pbar_nesting#

pasteur.utils.progress.limit_pbar_nesting(pbar_gen)[source]#

Prevent nesting too much on jupyter. This causes ugly gaps to be generated on vs code. Up to 2 progress bars work fine.

Return type:

TypeVar(A, bound= Callable)