diff --git a/src/httpware/decoders/msgspec.py b/src/httpware/decoders/msgspec.py index 5211994..5c7cd79 100644 --- a/src/httpware/decoders/msgspec.py +++ b/src/httpware/decoders/msgspec.py @@ -49,7 +49,7 @@ def _is_native(info: "msgspec.inspect.Type") -> bool: return True -def _build_adapter(model: object) -> "msgspec.json.Decoder[typing.Any] | None": +def _build_adapter(model: typing.Any) -> "msgspec.json.Decoder[typing.Any] | None": # noqa: ANN401 """Return a `msgspec.json.Decoder` for `model`, or None when msgspec cannot decode it natively. msgspec builds a Decoder for almost any class through its `CustomType`