Skip to content

Commit 983b2c2

Browse files
authored
version bump (#37)
1 parent 3d9776b commit 983b2c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "video_sampler"
33
description = "Video Sampler -- sample frames from a video file"
44
url = "https://github.com/LemurPwned/video-sampler"
5-
version = "0.11.4"
5+
version = "0.11.5"
66
authors = [
77
{ name = "LemurPwned", email = "lemurpwned@gmail.com" }
88
]

video_sampler/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def from_yaml(cls, file_path: str) -> "SamplerConfig":
115115
return cls(**data)
116116

117117
@model_validator(mode="after")
118-
def validate_start_end_times(cls, values):
118+
def validate_start_end_times(cls, values: "SamplerConfig"):
119119
if values.end_time_s is not None and values.start_time_s >= values.end_time_s:
120120
raise ValueError("start_time_s must be strictly less than the end_time_s")
121121
return values

0 commit comments

Comments
 (0)