Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/httpware/decoders/msgspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
Loading