We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 919a977 commit a44a26aCopy full SHA for a44a26a
src/in_n_out/_store.py
@@ -1053,7 +1053,7 @@ def _type_from_hints(hints: dict[str, Any]) -> Any:
1053
type_ = rest[0]
1054
weight = 0
1055
elif len(rest) == 2:
1056
- type_, weight = cast(tuple[Optional[THint], float], rest)
+ type_, weight = cast("tuple[Optional[THint], float]", rest)
1057
else: # pragma: no cover
1058
raise ValueError(f"Invalid callback tuple: {tup!r}")
1059
0 commit comments