mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-10-31 04:14:38 +08:00
fix(classification): narrow copied selection type
This commit is contained in:
@@ -569,7 +569,7 @@ def _degraded_automatic_selection(
|
||||
return None
|
||||
if not str(selection.category_id or "").strip():
|
||||
return None
|
||||
return selection.model_copy(deep=True)
|
||||
return cast(ClassificationSelection, selection.model_copy(deep=True))
|
||||
|
||||
|
||||
def _enum_text(value: object) -> str:
|
||||
|
||||
Reference in New Issue
Block a user