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

Method __init__

scenedetect/_cli/config.py:272–275  ·  view source on GitHub ↗
(self, value: str, length_limit: int = 0)

Source from the content-addressed store, hash-verified

270 """Strings that can contain escape sequences, e.g. the literal \n."""
271
272 def __init__(self, value: str, length_limit: int = 0):
273 self._value = value.encode("utf-8").decode("unicode_escape")
274 if length_limit and len(self._value) > length_limit:
275 raise OptionParseFailure(f"Value must be no longer than {length_limit} characters.")
276
277 @property
278 def value(self) -> str:

Callers

nothing calls this directly

Calls 1

OptionParseFailureClass · 0.85

Tested by

no test coverage detected