(out, val)
| 20 | |
| 21 | |
| 22 | def populate_value(out, val): |
| 23 | sub_vals = val.get_sub_values() |
| 24 | if sub_vals is None: |
| 25 | out.bytes.data = bytes(val.get_bytes()) |
| 26 | return |
| 27 | for sub_val in sub_vals: |
| 28 | cur = Value() |
| 29 | populate_value(cur, sub_val) |
| 30 | out.vector.value.append(cur) |
| 31 | |
| 32 | |
| 33 | def typed_val_to_proto(typed_val): |
no test coverage detected