MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / is_valid_config

Method is_valid_config

Module/KeyframeSelector.py:36–39  ·  view source on GitHub ↗
(cls, config: SimpleNamespace | None)

Source from the content-addressed store, hash-verified

34
35 @classmethod
36 def is_valid_config(cls, config: SimpleNamespace | None) -> None:
37 cls._enforce_config_spec(config, {
38 "keyframe_freq": lambda freq: isinstance(freq, int) and (freq >= 1)
39 })

Callers

nothing calls this directly

Calls 1

_enforce_config_specMethod · 0.80

Tested by

no test coverage detected