Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ classifiers = [
dependencies = [
"protobuf-py>=0.3.0",
"pyqwest>=0.5.1",
"typing_extensions>=4.13.0",
]

[project.urls]
Expand Down
7 changes: 4 additions & 3 deletions src/connectrpc/_codec.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from typing import Protocol, TypeVar
from typing import Any, Protocol

from protobuf import Message, Registry
from protobuf.wkt import (
Expand All @@ -18,6 +18,7 @@
type_pb,
wrappers_pb,
)
from typing_extensions import TypeVar

CODEC_NAME_PROTO = "proto"
CODEC_NAME_JSON = "json"
Expand All @@ -40,8 +41,8 @@
)


T_contra = TypeVar("T_contra", contravariant=True)
U = TypeVar("U")
T_contra = TypeVar("T_contra", contravariant=True, default=Any)
U = TypeVar("U", default=Any)
V = TypeVar("V", bound=Message)


Expand Down
4 changes: 3 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading