Skip to content

Commit 4fae77a

Browse files
Internal Change.
PiperOrigin-RevId: 792262413
1 parent b34392a commit 4fae77a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/google/protobuf/compiler/python/pyi_generator.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ void PyiGenerator::PrintImports() const {
256256
} else {
257257
if (file_->service_count() > 0) {
258258
printer_->Print(
259+
"from google3.net.rpc.python import legacy_stream_token as "
260+
"_legacy_stream_token\n"
259261
"from google3.net.rpc.python import proto_python_api_2_stub as "
260262
"_proto_python_api_2_stub\n"
261263
"from google3.net.rpc.python import pywraprpc as _pywraprpc\n"

0 commit comments

Comments
 (0)