(config_value: str, default: "TimecodeValue")
| 88 | |
| 89 | @staticmethod |
| 90 | def from_config(config_value: str, default: "TimecodeValue") -> "TimecodeValue": |
| 91 | try: |
| 92 | return TimecodeValue(config_value) |
| 93 | except ValueError as ex: |
| 94 | raise OptionParseFailure( |
| 95 | "Timecodes must be in seconds (100.0), frames (100), or HH:MM:SS." |
| 96 | ) from ex |
| 97 | |
| 98 | |
| 99 | class RangeValue(ValidatedValue): |
nothing calls this directly
no test coverage detected