We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ListValue is not iterable
The core library
With official protobuf_pb2, you can do:
args = ListValue() args.extend([1,2,3]) some_function(*args)
But with betterproto this doesn't work currently
python-betterproto/src/betterproto/lib/std/google/protobuf/__init__.py
Line 2300 in 335eee7
Add some wrapper methods (extend, iter, ..)
Always use .value
.value
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
ListValue is not iterable
What is the feature request for?
The core library
The Problem
With official protobuf_pb2, you can do:
But with betterproto this doesn't work currently
python-betterproto/src/betterproto/lib/std/google/protobuf/__init__.py
Line 2300 in 335eee7
The Ideal Solution
Add some wrapper methods (extend, iter, ..)
The Current Solution
Always use
.value
The text was updated successfully, but these errors were encountered: