You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
# Merge in the value being set.
if pb_value is not None:
> self._pb.MergeFrom(self._meta.pb(**{key: pb_value}))
E TypeError: Value must be iterable
Variant: commenting out the repeated inputs field, the generated unit test fails with a different error:
_, args, _ = call.mock_calls[0]
> assert args[0].parameters == struct.Value(null_value=struct.NullValue.NULL_VALUE)
E AssertionError: assert None == null_value: NULL_VALUE\n
E + where None = parameters {\n null_value: NULL_VALUE\n}\n.parameters
E + and null_value: NULL_VALUE\n = <class 'google.protobuf.struct_pb2.Value'>(null_value=0)
E + where <class 'google.protobuf.struct_pb2.Value'> = struct.Value
E + and 0 = <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object at 0x10ac9ce50>.NULL_VALUE
E + where <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object at 0x10ac9ce50> = struct.NullValue
Generate library with the following service proto:
The generated unit test fails with:
Variant: commenting out the repeated
inputsfield, the generated unit test fails with a different error: