| 35 | |
| 36 | |
| 37 | class ProgressState: |
| 38 | def __init__(self, chunk_size: int) -> None: |
| 39 | self.last_put_iteration = 0 |
| 40 | self.next_put_iteration = max(chunk_size // 100, 1) |
| 41 | self.last_put_time = time_ns() |
| 42 | |
| 43 | |
| 44 | def is_notebook_lab() -> bool: |
no outgoing calls
no test coverage detected
searching dependent graphs…