MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / FakeTqdmLoggingRedirect

Class FakeTqdmLoggingRedirect

scenedetect/platform.py:70–80  ·  view source on GitHub ↗

Provides a no-op tqdm context manager for redirecting log messages.

Source from the content-addressed store, hash-verified

68
69
70class FakeTqdmLoggingRedirect:
71 """Provides a no-op tqdm context manager for redirecting log messages."""
72
73 def __init__(self, **kwargs):
74 """No-op."""
75
76 def __enter__(self):
77 """No-op."""
78
79 def __exit__(self, type, value, traceback):
80 """No-op."""
81
82
83# Try to import tqdm and the logging redirect, otherwise provide fake implementations..

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected