-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
I have a generated services/forrest/pagers.py
It's generating the following:
self._request = forrest_pb2.ListRunsRequest(request)
There doesn't appear to be a copy constructor in my protobuf version. Not sure when that was added. Manually modifying the code to
self._request = forrest_pb2.ListRunsRequest()
self._request.CopyFrom(request)
works correctly.
forrest_pb2.ListRunsRequest() is a python protobuf that is in a different package then the service.proto I generated using gapic. I think the pagers.py is assuming the ListRunsRequest message is a proto-plus message.
Environment details
- OS type and version: gLinux
- protoc version: libprotoc 32.1
- Python version: 3.11.9
gapic-generatorversion: 1.30.2- python
protobufpackage: 6.32.1
Metadata
Metadata
Assignees
Labels
No labels