This commit is contained in:
Nuno Campos
2024-04-16 15:07:51 -07:00
parent bdf0def798
commit 012bbb961f
+1 -1
View File
@@ -295,7 +295,7 @@ def _get_channels(schema: Type[dict]) -> dict[str, BaseChannel]:
}
def _get_channel(annotation: Any) -> Optional[BaseChannel]:
def _get_channel(annotation: Any) -> BaseChannel:
if channel := _is_field_binop(annotation):
return channel
return LastValue(annotation)