Get the global lock. Construct it if it does not exist.
(cls)
| 759 | |
| 760 | @classmethod |
| 761 | def get_lock(cls): |
| 762 | """Get the global lock. Construct it if it does not exist.""" |
| 763 | if not hasattr(cls, '_lock'): |
| 764 | cls._lock = TqdmDefaultWriteLock() |
| 765 | return cls._lock |
| 766 | |
| 767 | @classmethod |
| 768 | def pandas(cls, **tqdm_kwargs): |
no test coverage detected