Skip to content

Commit 081b4aa

Browse files
Cleanup internal pack run
1 parent 4746de8 commit 081b4aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conformance/test/server.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
from google.protobuf.message import Message
4949

5050

51-
def pack(msg) -> Any:
51+
# TODO: Use google.protobuf.any.pack on upgrade to protobuf==6.
52+
def pack(msg: "Message") -> Any:
5253
any_msg = Any()
5354
any_msg.Pack(msg, type_url_prefix="'type.googleapis.com/'")
5455
return any_msg

0 commit comments

Comments
 (0)